Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 09:27:47 +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: r184711 - head/sys/net
Message-ID:  <200811060927.mA69RlEd050752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Thu Nov  6 09:27:47 2008
New Revision: 184711
URL: http://svn.freebsd.org/changeset/base/184711

Log:
  Check for INET not AF_INET in #ifdef. Makes it compile without INET.
  
  MFC after:	2 months

Modified:
  head/sys/net/if_fwsubr.c

Modified: head/sys/net/if_fwsubr.c
==============================================================================
--- head/sys/net/if_fwsubr.c	Thu Nov  6 09:18:29 2008	(r184710)
+++ head/sys/net/if_fwsubr.c	Thu Nov  6 09:27:47 2008	(r184711)
@@ -136,7 +136,7 @@ firewire_output(struct ifnet *ifp, struc
 	}
 
 	switch (dst->sa_family) {
-#ifdef AF_INET
+#ifdef INET
 	case AF_INET:
 		/*
 		 * Only bother with arp for unicast. Allocation of



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811060927.mA69RlEd050752>