From e45a0b69e74847d136e4fd40b7d414905ab5c205 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 21 Feb 2014 13:38:00 +0000 Subject: [PATCH] Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 config --- usr/local/sbin/ppp-linkup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup index d2c0aa632e..23363c6d93 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