File tree Expand file tree Collapse file tree
application/views/router-cli/server/bird Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{*
2- NOTE: fvliid is used below to distinguish between multiple VLAN interfaces
2+ NOTE: fvliid is used below to distinguish between multiple VLAN interfaces
33 for the same customer in the same peering LAN *}
44
55# ## AS{$int.autsys} - {$int.cname} - VLAN Interface #{$int.vliid}
@@ -22,16 +22,16 @@ int set allas;
2222 # to collapse. Recommend evasive manoeuvers.
2323 if (bgp_path.first != {$int.autsys} ) then
2424 reject;
25-
25+
2626{* Only do filtering if this is enabled per client *}
2727{if $int[' irrdbfilter' ] }
2828 allas = [ {foreach $irrdbAsns as $a}{$a.asn}{if not $a@last},{/if} {if $a@iteration % 10 == 0}
29-
30- {/if}{foreachelse}{$int.autsys}{ /foreach} ];
29+
30+ {/if}{/foreach} ];
3131
3232 if !(bgp_path.last ~ allas) then
3333 reject;
34-
34+
3535{if count( $prefixes )}
3636 allnet = [ {foreach $prefixes as $p}{$p.prefix}{if not $p@last},{/if} {/foreach} ];
3737
@@ -63,5 +63,6 @@ protocol bgp pb_{$int.fvliid}_as{$int.autsys} from tb_rsclient {
6363 route limit {$int.maxprefixes};
6464 table t_{$int.fvliid}_as{$int.autsys};
6565 {if $int.bgpmd5secret}password " {$int.bgpmd5secret}" ; {/if}
66-
66+
6767}
68+
You can’t perform that action at this time.
0 commit comments