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 ecf2bf75..3eadd605 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() == 1) { + if ($intf->running() == 1) { $link = 'up'; } else { $link = 'down'; |