Role service-bird-icvpn: correct roa log messages

This commit is contained in:
Tobias Hachmer 2018-01-02 10:45:09 +01:00
parent 64f99ea396
commit 90f486eb60
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}
}

View file

@ -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;
}
}