diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-11-01 11:27:52 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-11-01 11:27:52 -0800 |
commit | 2fe988d11ef39bab3351fed3e9df341c94c5773d (patch) | |
tree | cec69e9eb8abb7e75b99999db1c3c0c54919a12d /scripts/keepalived | |
parent | efc366d3baf0161ab736a44cfabf00dd38905d9e (diff) | |
download | vyatta-cfg-system-2fe988d11ef39bab3351fed3e9df341c94c5773d.tar.gz vyatta-cfg-system-2fe988d11ef39bab3351fed3e9df341c94c5773d.zip |
Fix interface carrier status.
Diffstat (limited to 'scripts/keepalived')
-rwxr-xr-x | scripts/keepalived/vyatta-show-vrrp.pl | 2 |
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'; |