bird/filters/ibgp.conf

46 lines
451 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;
# if ! is_mine() then
# ok = false;
return ok;
}