Fix !INET6 build after r244365.
This commit is contained in:
parent
dd029d52fa
commit
b8056fae06
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244387
@ -780,8 +780,17 @@ tcp_input(struct mbuf *m, int off0)
|
||||
/*
|
||||
* Grab info from PACKET_TAG_IPFORWARD tag prepended to the chain.
|
||||
*/
|
||||
if ((isipv6 && (m->m_flags & M_IP6_NEXTHOP)) ||
|
||||
(!isipv6 && (m->m_flags & M_IP_NEXTHOP)))
|
||||
if (
|
||||
#ifdef INET6
|
||||
(isipv6 && (m->m_flags & M_IP6_NEXTHOP))
|
||||
#ifdef INET
|
||||
|| (!isipv6 && (m->m_flags & M_IP_NEXTHOP))
|
||||
#endif
|
||||
#endif
|
||||
#if defined(INET) && !defined(INET6)
|
||||
(m->m_flags & M_IP_NEXTHOP)
|
||||
#endif
|
||||
)
|
||||
fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL);
|
||||
|
||||
#ifdef INET6
|
||||
|
Loading…
Reference in New Issue
Block a user