After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.
This commit is contained in:
parent
317d2b1e5c
commit
2c3774c183
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275211
@ -103,7 +103,9 @@ arc_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
|
|||||||
u_int8_t atype, adst;
|
u_int8_t atype, adst;
|
||||||
int loop_copy = 0;
|
int loop_copy = 0;
|
||||||
int isphds;
|
int isphds;
|
||||||
|
#ifdef INET
|
||||||
int is_gw;
|
int is_gw;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!((ifp->if_flags & IFF_UP) &&
|
if (!((ifp->if_flags & IFF_UP) &&
|
||||||
(ifp->if_drv_flags & IFF_DRV_RUNNING)))
|
(ifp->if_drv_flags & IFF_DRV_RUNNING)))
|
||||||
|
@ -101,7 +101,9 @@ fddi_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
|
|||||||
int loop_copy = 0, error = 0, hdrcmplt = 0;
|
int loop_copy = 0, error = 0, hdrcmplt = 0;
|
||||||
u_char esrc[FDDI_ADDR_LEN], edst[FDDI_ADDR_LEN];
|
u_char esrc[FDDI_ADDR_LEN], edst[FDDI_ADDR_LEN];
|
||||||
struct fddi_header *fh;
|
struct fddi_header *fh;
|
||||||
|
#ifdef INET
|
||||||
int is_gw;
|
int is_gw;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MAC
|
#ifdef MAC
|
||||||
error = mac_ifnet_check_transmit(ifp, m);
|
error = mac_ifnet_check_transmit(ifp, m);
|
||||||
|
@ -89,7 +89,9 @@ firewire_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
|
|||||||
struct mbuf *mtail;
|
struct mbuf *mtail;
|
||||||
int unicast, dgl, foff;
|
int unicast, dgl, foff;
|
||||||
static int next_dgl;
|
static int next_dgl;
|
||||||
|
#ifdef INET
|
||||||
int is_gw;
|
int is_gw;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MAC
|
#ifdef MAC
|
||||||
error = mac_ifnet_check_transmit(ifp, m);
|
error = mac_ifnet_check_transmit(ifp, m);
|
||||||
|
Loading…
Reference in New Issue
Block a user