summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-21 13:37:08 +0000
committerErmal <eri@pfsense.org>2014-02-21 13:37:08 +0000
commit761dc91c126c14140c7ab1d82faf5a66137ae02e (patch)
tree698a1c3d6fb2fa864d5e2fcccfac8b9ed37e219e /usr/local/sbin
parent929776169f0f36b99ef62f7bfe633f8d02db2c43 (diff)
downloadpfsense-761dc91c126c14140c7ab1d82faf5a66137ae02e.zip
pfsense-761dc91c126c14140c7ab1d82faf5a66137ae02e.tar.gz
Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 config
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/ppp-linkup4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup
index 96db69c..9e4aafd 100755
--- a/usr/local/sbin/ppp-linkup
+++ b/usr/local/sbin/ppp-linkup
@@ -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
OpenPOWER on IntegriCloud