Loading etc/local/bird/common/bgp-filters.conf +2 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,8 @@ function bgp_import( int AS; string import_type; int community; int import_med) if is_gitoyen() then return false; # in case of peering or transit, the routes within the gitoyen's network are not accepted. if import_type = "peering" && import_type = "transit" then { #if import_type = "peering" || import_type = "transit" then { if import_type = "transit" then { if is_within_gitoyen() then return false; } Loading Loading
etc/local/bird/common/bgp-filters.conf +2 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,8 @@ function bgp_import( int AS; string import_type; int community; int import_med) if is_gitoyen() then return false; # in case of peering or transit, the routes within the gitoyen's network are not accepted. if import_type = "peering" && import_type = "transit" then { #if import_type = "peering" || import_type = "transit" then { if import_type = "transit" then { if is_within_gitoyen() then return false; } Loading