From 90de89d1c66728e7d26bcecd5780a470da9fd565 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 28 Apr 2024 20:27:20 +0200 Subject: bird: fix syntax error --- roles/uvok_bird/templates/clearnet.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roles/uvok_bird/templates') 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; -- cgit v1.2.3