diff options
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 6 | ||||
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/enforce-first-as/node.def (renamed from templates/protocols/bgp/node.tag/parameters/enforce-first-as/node.def) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 9a816344..5d182318 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -736,9 +736,9 @@ my %qcom = ( set => 'router bgp #3 ; distance #9 #7 ', del => 'router bgp #3 ; no distance #9 #7', }, - 'protocols bgp var parameters enforce-first-as' => { - set => 'router bgp #3 ; bgp enforce-first-as', - del => 'router bgp #3 ; no bgp enforce-first-as', + 'protocols bgp var neighbor var enforce-first-as' => { + set => 'router bgp #3 ; neighbor #5 enforce-first-as', + del => 'router bgp #3 ; no neighbor #5 enforce-first-as', }, 'protocols bgp var parameters graceful-restart' => { set => undef, diff --git a/templates/protocols/bgp/node.tag/parameters/enforce-first-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/enforce-first-as/node.def index 2263b31f..2263b31f 100644 --- a/templates/protocols/bgp/node.tag/parameters/enforce-first-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/enforce-first-as/node.def |