Date: Fri, 28 Nov 2014 14:51:50 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275211 - head/sys/net Message-ID: <201411281451.sASEpomG053933@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Fri Nov 28 14:51:49 2014 New Revision: 275211 URL: https://svnweb.freebsd.org/changeset/base/275211 Log: After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise unused varibale under the proper #ifdef. Modified: head/sys/net/if_arcsubr.c head/sys/net/if_fddisubr.c head/sys/net/if_fwsubr.c Modified: head/sys/net/if_arcsubr.c ============================================================================== --- head/sys/net/if_arcsubr.c Fri Nov 28 13:25:57 2014 (r275210) +++ head/sys/net/if_arcsubr.c Fri Nov 28 14:51:49 2014 (r275211) @@ -103,7 +103,9 @@ arc_output(struct ifnet *ifp, struct mbu 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))) Modified: head/sys/net/if_fddisubr.c ============================================================================== --- head/sys/net/if_fddisubr.c Fri Nov 28 13:25:57 2014 (r275210) +++ head/sys/net/if_fddisubr.c Fri Nov 28 14:51:49 2014 (r275211) @@ -101,7 +101,9 @@ fddi_output(struct ifnet *ifp, struct mb 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); Modified: head/sys/net/if_fwsubr.c ============================================================================== --- head/sys/net/if_fwsubr.c Fri Nov 28 13:25:57 2014 (r275210) +++ head/sys/net/if_fwsubr.c Fri Nov 28 14:51:49 2014 (r275211) @@ -89,7 +89,9 @@ firewire_output(struct ifnet *ifp, struc 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411281451.sASEpomG053933>