summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2009-03-31 14:55:17 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-03-31 14:55:17 -0700
commitae6066ea086eb473187e0cadfbb8879e67243fb5 (patch)
treecac33d78ac7cfe5b04634330e9091ef68ed19f12
parent14a59962a64209afbb652ea86209c215c902f8ca (diff)
downloadvyatta-cfg-ae6066ea086eb473187e0cadfbb8879e67243fb5.tar.gz
vyatta-cfg-ae6066ea086eb473187e0cadfbb8879e67243fb5.zip
make bridge address a different rank to match new priority scheme.
-rwxr-xr-xlib/Vyatta/ConfigLoad.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm
index 9186ce5..1cb4833 100755
--- a/lib/Vyatta/ConfigLoad.pm
+++ b/lib/Vyatta/ConfigLoad.pm
@@ -39,8 +39,8 @@ my %config_rank = (
'protocols ospf' => 1055,
'protocols rip' => 1050,
'interfaces' => 1000,
+ 'interfaces bonding' => 995,
'interfaces bridge' => 990,
- 'interfaces bonding' => 995,
'interfaces ethernet' => 980,
'interfaces tunnel' => 910,
'system gateway-address' => 890,
@@ -62,6 +62,7 @@ my %regex_rank = (
'protocols bgp \d+ parameters' => 810,
'protocols bgp \d+ neighbor \d+\.\d+\.\d+\.\d+' => 800,
'protocols bgp \d+ neighbor \w+' => 801,
+ 'interfaces bridge \S* address' => 920,
);
my @all_nodes = ();