summaryrefslogtreecommitdiff
path: root/scripts/keepalived
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-11-01 11:27:52 -0800
committerStig Thormodsrud <stig@vyatta.com>2009-11-01 11:27:52 -0800
commit2fe988d11ef39bab3351fed3e9df341c94c5773d (patch)
treecec69e9eb8abb7e75b99999db1c3c0c54919a12d /scripts/keepalived
parentefc366d3baf0161ab736a44cfabf00dd38905d9e (diff)
downloadvyatta-cfg-quagga-2fe988d11ef39bab3351fed3e9df341c94c5773d.tar.gz
vyatta-cfg-quagga-2fe988d11ef39bab3351fed3e9df341c94c5773d.zip
Fix interface carrier status.
Diffstat (limited to 'scripts/keepalived')
-rwxr-xr-xscripts/keepalived/vyatta-show-vrrp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/keepalived/vyatta-show-vrrp.pl b/scripts/keepalived/vyatta-show-vrrp.pl
index 521abc7f..545e0e5c 100755
--- a/scripts/keepalived/vyatta-show-vrrp.pl
+++ b/scripts/keepalived/vyatta-show-vrrp.pl
@@ -78,7 +78,7 @@ sub get_state_link {
$state = 'admin down';
}
- if ($intf->carrier()) {
+ if ($intf->carrier() == 1) {
$link = 'up';
} else {
$link = 'down';