summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-09-25 18:40:52 +0000
committerbrooks <brooks@FreeBSD.org>2001-09-25 18:40:52 +0000
commit74063dd723dfad807cddf4ebc4e8bec0a0400b08 (patch)
tree047925a0cd0ed3cd9eac86164bb29b8242a91c33 /sys/netinet/ip_icmp.c
parent7f833143d714e030ab2c3c5e75763673067276e3 (diff)
downloadFreeBSD-src-74063dd723dfad807cddf4ebc4e8bec0a0400b08.zip
FreeBSD-src-74063dd723dfad807cddf4ebc4e8bec0a0400b08.tar.gz
Make faith loadable, unloadable, and clonable.
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-rw-r--r--sys/netinet/ip_icmp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index ac38d9d..5664516 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -46,6 +46,7 @@
#include <sys/sysctl.h>
#include <net/if.h>
+#include <net/if_types.h>
#include <net/route.h>
#define _IP_VHL
@@ -62,11 +63,6 @@
#include <netkey/key.h>
#endif
-#include "faith.h"
-#if defined(NFAITH) && NFAITH > 0
-#include <net/if_types.h>
-#endif
-
#include <machine/in_cksum.h>
/*
@@ -275,7 +271,6 @@ icmp_input(m, off)
m->m_len += hlen;
m->m_data -= hlen;
-#if defined(NFAITH) && 0 < NFAITH
if (m->m_pkthdr.rcvif && m->m_pkthdr.rcvif->if_type == IFT_FAITH) {
/*
* Deliver very specific ICMP type only.
@@ -288,7 +283,6 @@ icmp_input(m, off)
goto freeit;
}
}
-#endif
#ifdef ICMPPRINTFS
if (icmpprintfs)
OpenPOWER on IntegriCloud