From d8fd1b99cac5302f42bf6e7fbea86e3be634b27d Mon Sep 17 00:00:00 2001 From: Robert Bays Date: Wed, 12 Mar 2008 16:45:53 -0700 Subject: updated fix for bug 2713. neighbor now allows g/G. --- scripts/bgp/vyatta-bgp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/bgp') 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; } -- cgit v1.2.3