diff options
Diffstat (limited to 'scripts/keepalived/vyatta-show-vrrp.pl')
-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'; |