summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-08-19 11:58:32 +0000
committerErmal <eri@pfsense.org>2010-08-19 11:58:32 +0000
commit7b87710838513521a0008228fe04b6362aea63b3 (patch)
tree2d180e16e855055bada1533055d4792b94be4654
parent1bb031509c69630d4da81b7688ec1c892a1d6d3e (diff)
downloadpfsense-7b87710838513521a0008228fe04b6362aea63b3.zip
pfsense-7b87710838513521a0008228fe04b6362aea63b3.tar.gz
Ticket #8. Try to kill even all states from hosts and destination the gateway ip.
-rw-r--r--etc/inc/filter.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 3f96b3e..513cb79 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -150,6 +150,7 @@ function filter_delete_states_for_down_gateways() {
mwexec("/sbin/pfctl -b {$gateway['srcip']}");
mwexec("/sbin/pfctl -K {$gateway['srcip']}");
mwexec("/sbin/pfctl -k {$gateway['srcip']}");
+ mwexec("/sbin/pfctl -k 0.0.0.0/0 -k {$gateway['srcip']}");
}
}
}
OpenPOWER on IntegriCloud