bird/filters/ibgp.conf
2020-08-24 10:13:07 +02:00

43 lines
413 B
Text

function ibgp_export_v4()
bool ok;
{
ok = true;
if net.len = 32 then
ok = false;
return ok;
}
function ibgp_export_v6()
bool ok;
{
ok = true;
if net.len = 128 then
ok = false;
return ok;
}
function ibgp_import_v4()
bool ok;
{
ok = true;
if net = 0.0.0.0/0 then
ok = false;
return ok;
}
function ibgp_import_v6()
bool ok;
{
ok = true;
if net = ::/0 then
ok = false;
return ok;
}