From owner-svn-src-all@FreeBSD.ORG Fri Nov 28 14:51:51 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10589526; Fri, 28 Nov 2014 14:51:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1E78357; Fri, 28 Nov 2014 14:51:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sASEpo2A053936; Fri, 28 Nov 2014 14:51:50 GMT (envelope-from bz@FreeBSD.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sASEpomG053933; Fri, 28 Nov 2014 14:51:50 GMT (envelope-from bz@FreeBSD.org) Message-Id: <201411281451.sASEpomG053933@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bz set sender to bz@FreeBSD.org using -f From: "Bjoern A. Zeeb" Date: Fri, 28 Nov 2014 14:51:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275211 - head/sys/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 14:51:51 -0000 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);