summaryrefslogtreecommitdiffstats
path: root/sys/net/if_fwsubr.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-11-06 09:27:47 +0000
committerbz <bz@FreeBSD.org>2008-11-06 09:27:47 +0000
commit5faa66b0032a9bd75770e8d6459abeeb625997ac (patch)
tree6644b5581064fcaea950b0d03a01aed87fa095ba /sys/net/if_fwsubr.c
parent11694fd16b46543eff4b81ad00facb942b66cb34 (diff)
downloadFreeBSD-src-5faa66b0032a9bd75770e8d6459abeeb625997ac.zip
FreeBSD-src-5faa66b0032a9bd75770e8d6459abeeb625997ac.tar.gz
Check for INET not AF_INET in #ifdef. Makes it compile without INET.
MFC after: 2 months
Diffstat (limited to 'sys/net/if_fwsubr.c')
-rw-r--r--sys/net/if_fwsubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c
index e001c29..8d4f159 100644
--- a/sys/net/if_fwsubr.c
+++ b/sys/net/if_fwsubr.c
@@ -136,7 +136,7 @@ firewire_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
}
switch (dst->sa_family) {
-#ifdef AF_INET
+#ifdef INET
case AF_INET:
/*
* Only bother with arp for unicast. Allocation of
OpenPOWER on IntegriCloud