From 6e8565e4694b55de9a30ce91f991bcc0bb0bd0bf Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 6 Oct 2024 15:23:06 +0200 Subject: tnet: Using templates instead of files --- tnet/files/node1/bird-tnet-pre.conf | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tnet/files/node1/bird-tnet-pre.conf (limited to 'tnet/files/node1/bird-tnet-pre.conf') diff --git a/tnet/files/node1/bird-tnet-pre.conf b/tnet/files/node1/bird-tnet-pre.conf deleted file mode 100644 index 74c981d..0000000 --- a/tnet/files/node1/bird-tnet-pre.conf +++ /dev/null @@ -1,20 +0,0 @@ -define tnet = fdb1:4242:3538:2000::/52; - -function is_tnet() -{ - return net ~ tnet; -} - -roa6 table dn42_roa; - -protocol static { - roa6 { table dn42_roa; }; - include "/etc/bird/dn42_roa_bird2_6.conf"; -}; - -function dn42_is_valid_network() -{ - return net ~ [ - fd00::/8{44,64} # ULA address space as per RFC 4193 - ]; -} -- cgit v1.2.3