summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-08-18 00:37:46 +0000
committerpeter <peter@FreeBSD.org>2004-08-18 00:37:46 +0000
commit79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c (patch)
tree499686ac555358727636e270bf9f6f4a67884f12 /sys/netinet/ip_output.c
parent02e483dd36730bab7d94e684f47b5be9d0c958b1 (diff)
downloadFreeBSD-src-79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c.zip
FreeBSD-src-79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c.tar.gz
Make the kernel compile again if you are not using PFIL_HOOKS
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index c40c682..7ed86b6 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -132,7 +132,9 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro,
struct in_ifaddr *ia = NULL;
int isbroadcast, sw_csum;
struct route iproute;
+#ifdef PFIL_HOOKS
struct in_addr odst;
+#endif
#ifdef IPFIREWALL_FORWARD
struct m_tag *fwd_tag = NULL;
#endif
@@ -185,7 +187,9 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro,
}
dst = (struct sockaddr_in *)&ro->ro_dst;
+#ifdef PFIL_HOOKS
again:
+#endif
/*
* If there is a cached route,
* check that it is to the same destination
OpenPOWER on IntegriCloud