Make the declaration of oip in fr_send_ip() conditional on INET,
since it's use is also conditional on that preprocessor macro.
This commit is contained in:
parent
534d9de60b
commit
c05368e398
7
sys/dist/ipf/netinet/ip_fil_netbsd.c
vendored
7
sys/dist/ipf/netinet/ip_fil_netbsd.c
vendored
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_fil_netbsd.c,v 1.4 2005/02/08 07:01:55 martti Exp $ */
|
/* $NetBSD: ip_fil_netbsd.c,v 1.5 2005/02/09 08:19:24 he Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1993-2003 by Darren Reed.
|
* Copyright (C) 1993-2003 by Darren Reed.
|
||||||
@ -849,7 +849,10 @@ fr_info_t *fin;
|
|||||||
mb_t *m, **mpp;
|
mb_t *m, **mpp;
|
||||||
{
|
{
|
||||||
fr_info_t fnew;
|
fr_info_t fnew;
|
||||||
ip_t *ip, *oip;
|
ip_t *ip;
|
||||||
|
#ifdef INET
|
||||||
|
ip_t *oip;
|
||||||
|
#endif
|
||||||
int hlen;
|
int hlen;
|
||||||
|
|
||||||
ip = mtod(m, ip_t *);
|
ip = mtod(m, ip_t *);
|
||||||
|
Loading…
Reference in New Issue
Block a user