mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
interfaces: deprecate SLAAC addresses on linkdown; closes #4929
This commit is contained in:
parent
e8d7876d21
commit
11b5fe6e9c
@ -54,6 +54,11 @@ elif [ "${AF}" = "inet6" ]; then
|
||||
|
||||
# Do not remove gateway used during filter reload.
|
||||
rm -f /tmp/${IF}_routerv6 /tmp/${IF}upv6 /tmp/${IF}_ipv6
|
||||
|
||||
# deprecate all previous SLAAC addresses
|
||||
ifconfig ${IF} | grep autoconf | while read FAMILY ADDR MORE; do
|
||||
ifconfig ${IF} ${FAMILY} ${ADDR} deprecated
|
||||
done
|
||||
fi
|
||||
|
||||
daemon -f /usr/local/opnsense/service/configd_ctl.py dns reload
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user