diff options
Diffstat (limited to 'examples/udhcp')
-rwxr-xr-x | examples/udhcp/simple.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udhcp/simple.script b/examples/udhcp/simple.script index 6658fbe..f079ec8 100755 --- a/examples/udhcp/simple.script +++ b/examples/udhcp/simple.script @@ -18,7 +18,7 @@ case "$1" in deconfig) echo "Clearing IP addresses on $interface, upping it" if command -v ip >/dev/null; then - ip addr flush dev $interface + ip -4 addr flush dev $interface ip link set dev $interface up else ifconfig $interface 0.0.0.0 |