summaryrefslogtreecommitdiff
path: root/scripts/keepalived
diff options
context:
space:
mode:
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 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';