X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..a991bd8d3e7fe02dbca0644054bab73c5b75324a:/bsd/netinet/ip_encap.c diff --git a/bsd/netinet/ip_encap.c b/bsd/netinet/ip_encap.c index 02c4e8141..294b98752 100644 --- a/bsd/netinet/ip_encap.c +++ b/bsd/netinet/ip_encap.c @@ -76,7 +76,7 @@ * Well, what can I say. They impose different en/decapsulation mechanism * from each other, so they need separate protocol handler. The only one * we can easily determine by protocol # is IPsec, which always has - * AH/ESP/IPComp header right after outer IP header. + * AH/ESP header right after outer IP header. * * So, clearly good old protosw does not work for protocol #4 and #41. * The code will let you match protocol via src/dst address pair. @@ -103,12 +103,9 @@ #include #include -#if INET6 #include #include #include -#endif - #include @@ -288,7 +285,6 @@ encap4_input(struct mbuf *m, int off) } #endif -#if INET6 int encap6_input(struct mbuf **mp, int *offp, int proto) { @@ -362,7 +358,6 @@ encap6_input(struct mbuf **mp, int *offp, int proto) /* last resort: inject to raw socket */ return rip6_input(mp, offp, proto); } -#endif static void encap_add_locked(struct encaptab *ep)