summaryrefslogtreecommitdiff
path: root/client/scripts/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'client/scripts/openbsd')
-rw-r--r--client/scripts/openbsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/scripts/openbsd b/client/scripts/openbsd
index 151b50aa..e7f4746f 100644
--- a/client/scripts/openbsd
+++ b/client/scripts/openbsd
@@ -308,7 +308,7 @@ if [ ${reason} = BOUND6 ] ; then
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 add ${new_ip6_address}/${new_ip6_prefixlen}
+ ifconfig ${interface} inet6 alias ${new_ip6_address}/${new_ip6_prefixlen}
# Check for nameserver options.
make_resolv_conf
@@ -345,7 +345,7 @@ if [ ${reason} = EXPIRE6 -o ${reason} = RELEASE6 -o ${reason} = STOP6 ] ; then
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 delete ${old_ip6_address}/${old_ip6_prefixlen}
+ ifconfig ${interface} inet6 -alias ${old_ip6_address}/${old_ip6_prefixlen}
exit_with_hooks 0
fi