summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-03-12 16:45:53 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-03-12 16:45:53 -0700
commitd8fd1b99cac5302f42bf6e7fbea86e3be634b27d (patch)
tree0aff4827075fd5252c1c5d5d0d452b57c9b81dcf /scripts
parent8a3b25bcf8f6e2b866c6f03d5b3af2b50197b2a7 (diff)
downloadvyatta-cfg-quagga-d8fd1b99cac5302f42bf6e7fbea86e3be634b27d.tar.gz
vyatta-cfg-quagga-d8fd1b99cac5302f42bf6e7fbea86e3be634b27d.zip
updated fix for bug 2713. neighbor now allows g/G.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index bf29a56e..d0f9c94c 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -39,7 +39,7 @@ sub check_peer_name() {
# Quagga treats the first byte as a potential IPv6 address
# so we can't use it as a peer group name. So let's check for it.
- if (/^[A-Ga-g]{1,4}$/) {
+ if (/^[A-Fa-f]{1,4}$/) {
print "malformed neighbor address $neighbor\n";
exit 1;
}