diff options
Diffstat (limited to 'netset')
-rwxr-xr-x | netset | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ do N=$((N + 1)) [ $N -eq 10 ] && echo " failure" && exit 1 echo -n "." && sleep 1 - ADDR=$(ip -c addr show dev $dev | sed -n '/inet /p') + ADDR=$(ip -4 -c addr show dev $dev | sed -n '/inet/p') done echo echo $ADDR |