diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-05-12 16:59:41 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-05-12 16:59:41 +0000 |
commit | 6660d316edfcd3f832177078a4c2bb69cbf636c9 (patch) | |
tree | 692ac5f7b97722c517839e11a32946e7048faeff /usr/local/sbin | |
parent | 9018933203e7b14e63edb0295dd920ec277c378c (diff) | |
download | pfsense-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-x | usr/local/sbin/vpn-linkdown | 1 |
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 |