precompile ppp active filter (reduces libpcap overhead to only a few k), enable by...
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoe
index d4a79ae..1f9cd73 100644 (file)
@@ -24,6 +24,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
This page took 0.018505 seconds and 4 git commands to generate.