Role service-bird-icvpn: correct roa log messages
This commit is contained in:
parent
64f99ea396
commit
90f486eb60
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ filter icvpn_import_filter {
|
||||||
}
|
}
|
||||||
if roa_check(roa_icvpn) = ROA_INVALID then {
|
if roa_check(roa_icvpn) = ROA_INVALID then {
|
||||||
if is_freifunk() 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;
|
accept;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,13 +18,13 @@ filter icvpn_import_filter {
|
||||||
} else {
|
} else {
|
||||||
if roa_check(roa_icvpn) = ROA_UNKNOWN then {
|
if roa_check(roa_icvpn) = ROA_UNKNOWN then {
|
||||||
if is_ula() 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;
|
accept;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if roa_check(roa_icvpn) = ROA_INVALID then {
|
if roa_check(roa_icvpn) = ROA_INVALID then {
|
||||||
if is_ula() 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;
|
accept;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue