X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-linux.c;h=329a141d2940024b0efec25e416eb5d53a315a88;hb=bdd34ab1f2f87acb23c6d92feee7354ac53005ff;hp=94e5a19ed4c67cc44f97b2257c3b0d57b4ed15a0;hpb=80b8744eb42c7493794f3e3fe0bf1ce14f53e6dd;p=ppp.git diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 94e5a19..329a141 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -157,10 +157,10 @@ #include "fsm.h" #include "ipcp.h" -#ifdef PPP_FILTER +#ifdef PPP_WITH_FILTER #include #include -#endif /* PPP_FILTER */ +#endif /* PPP_WITH_FILTER */ #ifdef LOCKLIB #include @@ -1425,7 +1425,7 @@ void ccp_flags_set (int unit, int isopen, int isup) modify_flags(ppp_dev_fd, SC_CCP_OPEN|SC_CCP_UP, x); } -#ifdef PPP_FILTER +#ifdef PPP_WITH_FILTER /* * set_filters - set the active and pass filters in the kernel driver. */ @@ -1450,7 +1450,7 @@ int set_filters(struct bpf_program *pass, struct bpf_program *active) } return 1; } -#endif /* PPP_FILTER */ +#endif /* PPP_WITH_FILTER */ /******************************************************************** *