diff options
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r-- | usr.sbin/ppp/ip.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index 7a84e09..5cd2272 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -206,7 +206,12 @@ prototxt(int cproto) * One (and only one) of pip or pip6 must be set. */ int -FilterCheck(const unsigned char *packet, u_int32_t family, +FilterCheck(const unsigned char *packet, +#ifdef NOINET6 + u_int32_t family __unused, +#else + u_int32_t family, +#endif const struct filter *filter, unsigned *psecs) { int gotinfo; /* true if IP payload decoded */ |