summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-12 16:59:41 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-12 16:59:41 +0000
commit6660d316edfcd3f832177078a4c2bb69cbf636c9 (patch)
tree692ac5f7b97722c517839e11a32946e7048faeff /usr/local/sbin
parent9018933203e7b14e63edb0295dd920ec277c378c (diff)
downloadpfsense-6660d316edfcd3f832177078a4c2bb69cbf636c9.zip
pfsense-6660d316edfcd3f832177078a4c2bb69cbf636c9.tar.gz
Add the state killing for now on VPN's pppoe/pptp/l2tp when the link goes down. For the others some more thought is needed.
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/vpn-linkdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/sbin/vpn-linkdown b/usr/local/sbin/vpn-linkdown
index a0d868a..c50bafd 100755
--- a/usr/local/sbin/vpn-linkdown
+++ b/usr/local/sbin/vpn-linkdown
@@ -2,4 +2,5 @@
# record logout
/usr/bin/logger -p local3.info "logout,$1,,$3"
+/sbin/pfctl -b $1
OpenPOWER on IntegriCloud