diff options
author | Ermal <eri@pfsense.org> | 2013-01-30 10:22:02 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-30 10:26:14 +0000 |
commit | 9eb49a5152a8f3affbf85eaf1923e60eef3b1375 (patch) | |
tree | faa432c58d691cd7a82f606fd6f8f6a0d86549a1 /sbin | |
parent | 31b958d5b065a25d9b842d31d793000c93658e15 (diff) | |
download | pfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.zip pfsense-9eb49a5152a8f3affbf85eaf1923e60eef3b1375.tar.gz |
pfctl -b is gone just use std tools of pfctl
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/dhclient-script | 2 |
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 } |