summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-linkup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-30 10:22:02 +0000
committerErmal <eri@pfsense.org>2013-01-30 10:26:14 +0000
commit9eb49a5152a8f3affbf85eaf1923e60eef3b1375 (patch)
treefaa432c58d691cd7a82f606fd6f8f6a0d86549a1 /usr/local/sbin/ppp-linkup
parent31b958d5b065a25d9b842d31d793000c93658e15 (diff)
downloadpfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.zip
pfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.tar.gz
pfctl -b is gone just use std tools of pfctl
Diffstat (limited to 'usr/local/sbin/ppp-linkup')
-rwxr-xr-xusr/local/sbin/ppp-linkup2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup
index 3a62fbb..50308b1 100755
--- a/usr/local/sbin/ppp-linkup
+++ b/usr/local/sbin/ppp-linkup
@@ -5,7 +5,7 @@ if [ "$2" == "inet" ]; then
OLD_ROUTER=`/bin/cat /tmp/${1}_router`
if [ "${OLD_ROUTER}" != "" ]; then
echo "Removing states to old router ${OLD_ROUTER}" | logger -t ppp-linkup
- /sbin/pfctl -b 0.0.0.0/32 -b ${OLD_ROUTER}/32
+ /sbin/pfctl -i $1 -k 0.0.0.0/0 -k ${OLD_ROUTER}/32
fi
# let the configuration system know that the ipv4 has changed.
OpenPOWER on IntegriCloud