diff options
author | peter <peter@FreeBSD.org> | 2004-08-18 00:37:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-08-18 00:37:46 +0000 |
commit | 79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c (patch) | |
tree | 499686ac555358727636e270bf9f6f4a67884f12 /sys | |
parent | 02e483dd36730bab7d94e684f47b5be9d0c958b1 (diff) | |
download | FreeBSD-src-79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c.zip FreeBSD-src-79dd918c6c8fbb60b4dc3b7900c964d8683aeb6c.tar.gz |
Make the kernel compile again if you are not using PFIL_HOOKS
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
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 |