diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-03-18 17:27:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-03-18 17:27:20 +0000 |
commit | 5359dd8c8a0ad7c6c3ea7f0211b26b378263965f (patch) | |
tree | 52813f9ebd13e23690eceb048dcb8cfb54863a17 /package/pptp | |
parent | a10c122fe2cdd175541eb14cebe58d599b5c7dce (diff) | |
download | upstream-5359dd8c8a0ad7c6c3ea7f0211b26b378263965f.tar.gz upstream-5359dd8c8a0ad7c6c3ea7f0211b26b378263965f.tar.bz2 upstream-5359dd8c8a0ad7c6c3ea7f0211b26b378263965f.zip |
precompile ppp active filter (reduces libpcap overhead to only a few k), enable by default to support proper demand dialling, fixes #307
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3401 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pptp')
-rw-r--r-- | package/pptp/files/ifup.pptp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/pptp/files/ifup.pptp b/package/pptp/files/ifup.pptp index fe04d97848..9b1ac07c26 100644 --- a/package/pptp/files/ifup.pptp +++ b/package/pptp/files/ifup.pptp @@ -23,6 +23,7 @@ case "$DEMAND" in on|1|enabled) DEMAND=$(nvram get ppp_idletime) DEMAND=${IDLETIME:+demand idle $IDLETIME} + [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND} ;; *) DEMAND="persist";; esac |