mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 config
This commit is contained in:
parent
080fd00bac
commit
e45a0b69e7
@ -30,6 +30,7 @@ if [ "$2" == "inet" ]; then
|
||||
/usr/local/sbin/pfSctl -c 'service reload dns'
|
||||
/bin/sleep 1
|
||||
fi
|
||||
/usr/local/sbin/pfSctl -c "interface newip $1"
|
||||
fi
|
||||
|
||||
if [ "$2" == "inet6" ]; then
|
||||
@ -54,8 +55,7 @@ if [ "$2" == "inet6" ]; then
|
||||
/usr/local/sbin/pfSctl -c 'service reload dns'
|
||||
/bin/sleep 1
|
||||
fi
|
||||
else
|
||||
/usr/local/sbin/pfSctl -c "interface newip $1"
|
||||
/usr/local/sbin/pfSctl -c "interface newipv6 $1"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user