Better fix for the bpf dependency that doesn't have such a large impact

on the code and pppd in userland.  PPP_FILTER is meant to be an option (or
negatable option).
This commit is contained in:
Peter Wemm 1997-10-18 00:56:23 +00:00
parent d11c4262eb
commit c871745648
2 changed files with 11 additions and 2 deletions

View File

@ -69,7 +69,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
/* $Id: if_ppp.c,v 1.46 1997/10/17 00:12:38 brian Exp $ */
/* $Id: if_ppp.c,v 1.47 1997/10/18 00:46:09 peter Exp $ */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
/* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
@ -80,7 +80,11 @@
#define VJC
#define PPP_COMPRESS
#include "bpfilter.h"
#if NBPFILTER > 0
#define PPP_FILTER
#endif
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -70,14 +70,19 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
/* $Id: ppp_tty.c,v 1.24 1997/09/21 22:01:13 gibbs Exp $ */
/* $Id: ppp_tty.c,v 1.25 1997/10/10 11:57:43 peter Exp $ */
#include "ppp.h"
#if NPPP > 0
#define VJC
#define PPP_COMPRESS
#include "bpfilter.h"
#if NBPFILTER > 0
#define PPP_FILTER
#endif
#include <sys/param.h>
#include <sys/systm.h>