We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6e39a commit b6527e1Copy full SHA for b6527e1
1 file changed
heartbeat/IPaddr2
@@ -1028,7 +1028,7 @@ ip_served() {
1028
return 0
1029
fi
1030
1031
- if ocf_is_true "$OCF_RESKEY_check_link_status" && $IP2UTIL -f $FAMILY addr show $cur_nic | \
+ if ocf_is_true "$OCF_RESKEY_check_link_status" && $IP2UTIL -f $FAMILY addr show dev $cur_nic | \
1032
grep -q "[[:space:]]\(DOWN\|LOWERLAYERDOWN\)[[:space:]]"; then
1033
echo "down"
1034
0 commit comments