summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/templates
diff options
context:
space:
mode:
authoruvok cheetah2024-04-28 20:27:20 +0200
committeruvok cheetah2024-04-28 20:27:20 +0200
commit90de89d1c66728e7d26bcecd5780a470da9fd565 (patch)
treebde51652dbea04125cdd5ae696e57e02b5a31264 /roles/uvok_bird/templates
parent0303b904ad0149cb0cb56d507a6f58f3776827ae (diff)
bird: fix syntax error
Diffstat (limited to 'roles/uvok_bird/templates')
-rw-r--r--roles/uvok_bird/templates/clearnet.conf.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/uvok_bird/templates/clearnet.conf.j2 b/roles/uvok_bird/templates/clearnet.conf.j2
index bb057d1..78b83b8 100644
--- a/roles/uvok_bird/templates/clearnet.conf.j2
+++ b/roles/uvok_bird/templates/clearnet.conf.j2
@@ -55,7 +55,9 @@ define BOGON_PREFIXES = [ ::/0, # Default route
ff00::/8+ # RFC 4291 multicast
];
-function is_default_route() -> bool {
+# not supported (yet???)
+# -> bool {
+function is_default_route() {
case net.type {
NET_IP4: return net = 0.0.0.0/0;
NET_IP6: return net = ::/0;