After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise

unused varibale under the proper #ifdef.
This commit is contained in:
Bjoern A. Zeeb 2014-11-28 14:51:49 +00:00
parent 317d2b1e5c
commit 2c3774c183
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275211
3 changed files with 6 additions and 0 deletions

View File

@ -103,7 +103,9 @@ arc_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
u_int8_t atype, adst;
int loop_copy = 0;
int isphds;
#ifdef INET
int is_gw;
#endif
if (!((ifp->if_flags & IFF_UP) &&
(ifp->if_drv_flags & IFF_DRV_RUNNING)))

View File

@ -101,7 +101,9 @@ fddi_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
int loop_copy = 0, error = 0, hdrcmplt = 0;
u_char esrc[FDDI_ADDR_LEN], edst[FDDI_ADDR_LEN];
struct fddi_header *fh;
#ifdef INET
int is_gw;
#endif
#ifdef MAC
error = mac_ifnet_check_transmit(ifp, m);

View File

@ -89,7 +89,9 @@ firewire_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
struct mbuf *mtail;
int unicast, dgl, foff;
static int next_dgl;
#ifdef INET
int is_gw;
#endif
#ifdef MAC
error = mac_ifnet_check_transmit(ifp, m);