diff -aurp fcoe-utils-1.0.32.orig/debug/dcbcheck.sh fcoe-utils-1.0.32/debug/dcbcheck.sh --- fcoe-utils-1.0.32.orig/debug/dcbcheck.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/dcbcheck.sh 2020-04-02 18:44:06.511563546 -0700 @@ -27,7 +27,7 @@ if [ "${IFNAME}" == "" ] ; then fi # Ensure that the interface name provided is valid -if ifconfig ${IFNAME} 2>&1 | grep -q "Device not found" ; then +if ip link show dev ${IFNAME} 2>&1 | grep -q "does not exist" ; then echo "Please provide a valid interface name." >&2 exit 1 fi Only in fcoe-utils-1.0.32.orig/debug: .dcbcheck.sh.swp diff -aurp fcoe-utils-1.0.32.orig/debug/fcoedump.sh fcoe-utils-1.0.32/debug/fcoedump.sh --- fcoe-utils-1.0.32.orig/debug/fcoedump.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/fcoedump.sh 2020-04-02 18:43:46.195599808 -0700 @@ -78,8 +78,10 @@ adapter_info() ethtool -i $DEVICE echo -e "#ethtool offloads:" ethtool -k $DEVICE - echo -e "#ifconfig:" - ifconfig $DEVICE + echo -e "#ip link:" + ip link show dev $DEVICE + echo -e "#ip addr:" + ip addr show dev $DEVICE fi echo -e "\n###Adapter INFO $PHYSDEV" @@ -93,8 +95,10 @@ adapter_info() ethtool -k $PHYSDEV echo -e "#ethtool stats:" ethtool -S $PHYSDEV - echo -e "#ifconfig:" - ifconfig $PHYSDEV + echo -e "#ip link:" + ip link show dev $PHYSDEV + echo -e "#ip addr:" + ip addr show dev $PHYSDEV } dcbtool_info()