summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
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 /sbin/dhclient-script
parent31b958d5b065a25d9b842d31d793000c93658e15 (diff)
downloadpfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.zip
pfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.tar.gz
pfctl -b is gone just use std tools of pfctl
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 21bb473..dda92a9 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -82,7 +82,7 @@ delete_old_states() {
$LOGGER "Comparing Routers: Old: ${OLD_ROUTER} New: ${new_routers}"
if [ "${OLD_ROUTER}" != "${new_routers}" ]; then
$LOGGER "Removing states through old gateway '${OLD_ROUTER}' (new gateway '${new_routers}')"
- /sbin/pfctl -b 0.0.0.0/32 -b ${OLD_ROUTER}/32
+ /sbin/pfctl -i $interface -k 0.0.0.0/0 -k ${OLD_ROUTER}/32
fi
fi
}
OpenPOWER on IntegriCloud