From 90f486eb6087ff4f79b40d523f608f11d76757c0 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Tue, 2 Jan 2018 10:45:09 +0100 Subject: [PATCH] Role service-bird-icvpn: correct roa log messages --- roles/service-bird-icvpn/templates/icvpn_ipv4.conf.j2 | 2 +- roles/service-bird-icvpn/templates/icvpn_ipv6.conf.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/service-bird-icvpn/templates/icvpn_ipv4.conf.j2 b/roles/service-bird-icvpn/templates/icvpn_ipv4.conf.j2 index d5409db..90b2a2b 100644 --- a/roles/service-bird-icvpn/templates/icvpn_ipv4.conf.j2 +++ b/roles/service-bird-icvpn/templates/icvpn_ipv4.conf.j2 @@ -30,7 +30,7 @@ filter icvpn_import_filter { } if roa_check(roa_icvpn) = ROA_INVALID then { if is_freifunk() then { - print "ROA INVALID for freifunk net, accept: ", net, " ASN: ", bgp_path.last; + print "ROA INVALID for freifunk net, accepting: ", net, " ASN: ", bgp_path.last; accept; } } diff --git a/roles/service-bird-icvpn/templates/icvpn_ipv6.conf.j2 b/roles/service-bird-icvpn/templates/icvpn_ipv6.conf.j2 index eb41c3f..5bf2c49 100644 --- a/roles/service-bird-icvpn/templates/icvpn_ipv6.conf.j2 +++ b/roles/service-bird-icvpn/templates/icvpn_ipv6.conf.j2 @@ -18,13 +18,13 @@ filter icvpn_import_filter { } else { if roa_check(roa_icvpn) = ROA_UNKNOWN then { if is_ula() then { - print "ROA UNKNOWN for net, accepting: ", net, " ASN: ", bgp_path.last; + print "ROA UNKNOWN for ula net, accepting: ", net, " ASN: ", bgp_path.last; accept; } } if roa_check(roa_icvpn) = ROA_INVALID then { if is_ula() then { - print "ROA INVALID for net, accept: ", net, " ASN: ", bgp_path.last; + print "ROA INVALID for ula net, accepting: ", net, " ASN: ", bgp_path.last; accept; } }