summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-06-30 15:31:24 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-06-30 15:31:24 -0700
commit7800d646eb6af2a41b82f25bd2961bfaf1dd202e (patch)
tree777b3236c3bbda89c458663c8ef05fb943112d07 /scripts
parentc90fc08925d58c10d0a462751d8ed51b90253eed (diff)
downloadvyatta-cfg-7800d646eb6af2a41b82f25bd2961bfaf1dd202e.tar.gz
vyatta-cfg-7800d646eb6af2a41b82f25bd2961bfaf1dd202e.zip
Fix 3396: "commit failed at rank 800" while booting with bgp peer-group.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/VyattaConfigLoad.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index 936a9cf..0e0c658 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -56,7 +56,8 @@ my %regex_rank = (
'interfaces ethernet \S* vrrp' => 500,
'interfaces ethernet \S* vif \S* vrrp' => 500,
'protocols bgp \d+ parameters' => 810,
- 'protocols bgp \d+ neighbor \S*[^\d.]\S*' => 800,
+ 'protocols bgp \d+ neighbor \d+\.\d+\.\d+\.\d+' => 800,
+ 'protocols bgp \d+ neighbor \w+' => 801,
);
my @all_nodes = ();