summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc.inet12
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.inet1 b/rc.inet1
index e61aa26..b19d017 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -320,6 +320,8 @@ if_up() {
echo "0" >/proc/sys/net/ipv6/conf/${1}/accept_ra
fi
fi
+ debug_log "/sbin/ip address flush dev ${1}"
+ /sbin/ip address flush dev ${1}
IF_UP=0
# Slackware historically favours dynamic configuration over fixed IP to configure interfaces, so keep that tradition:
if [ "${USE_DHCP[$i]}" = "yes" ] || { [ -e /proc/sys/net/ipv6 ] && [ "${USE_DHCP6[$i]}" = "yes" ]; }; then # use dhcpcd