summaryrefslogtreecommitdiff
path: root/client/scripts/linux
diff options
context:
space:
mode:
Diffstat (limited to 'client/scripts/linux')
-rwxr-xr-xclient/scripts/linux8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/scripts/linux b/client/scripts/linux
index 0c429697..63257bca 100755
--- a/client/scripts/linux
+++ b/client/scripts/linux
@@ -400,6 +400,14 @@ case "$reason" in
;;
+ V6ONLY)
+ if [ -n "$old_ip_address" ]; then
+ # flush leased IP
+ ${ip} -4 addr flush dev ${interface} label ${interface}
+ fi
+
+ ;;
+
### DHCPv6 Handlers
# TODO handle prefix change: ?based on ${old_ip6_prefix} and ${new_ip6_prefix}?