summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-12 16:48:56 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-12 16:49:18 -0800
commit51609ad9c093cf263dcdb4ff5868d0ef5a03f531 (patch)
treed81dd8e8ba81f73a1fea4f304f7fa38df42e5ca4
parent2f9fc82af5de1002a708ad759809366cf3f2ba23 (diff)
downloadvyatta-cfg-51609ad9c093cf263dcdb4ff5868d0ef5a03f531.tar.gz
vyatta-cfg-51609ad9c093cf263dcdb4ff5868d0ef5a03f531.zip
Adjust default displayed priority to reflect actual default priority
-rwxr-xr-xlib/Vyatta/Keepalived.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Keepalived.pm b/lib/Vyatta/Keepalived.pm
index 6a81b47..4986d0c 100755
--- a/lib/Vyatta/Keepalived.pm
+++ b/lib/Vyatta/Keepalived.pm
@@ -239,7 +239,7 @@ sub vrrp_get_config {
my @vips = $config->returnOrigValues("virtual-address");
my $priority = $config->returnOrigValue("priority");
if (!defined $priority) {
- $priority = 1;
+ $priority = 100;
}
my $preempt = $config->returnOrigValue("preempt");
if (!defined $preempt) {