diff options
Diffstat (limited to 'scripts/bgp')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index d0f9c94c..319f980b 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -108,12 +108,12 @@ sub check_as() { } if (! defined $peergroup) { - print "You must define a remote-as or peer-group for neighbor $neighbor before commiting\n"; + print "protocols bgp $as neighbor $neighbor: you must define a remote-as or peer-group\n"; exit 1; } if (! defined $peergroupas) { - print "You must define a remote-as in neighbor $neighbor or peer-group $peergroup before commiting\n"; + print "protocols bgp $as neighbor $neighbor: you must define a remote-as in this neighbor or in peer-group $peergroup\n"; exit 1; } } |