summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;