mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 17:25:09 +00:00
fixup FAST_IPSEC build w/o INET6
This commit is contained in:
parent
ab94ca3cec
commit
58fcadfc0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106679
|
@ -574,11 +574,14 @@ tcp_input(m, off0)
|
|||
}
|
||||
#endif
|
||||
#ifdef FAST_IPSEC
|
||||
#ifdef INET6
|
||||
if (isipv6) {
|
||||
if (inp != NULL && ipsec6_in_reject(m, inp)) {
|
||||
goto drop;
|
||||
}
|
||||
} else if (inp != NULL && ipsec4_in_reject(m, inp)) {
|
||||
} else
|
||||
#endif
|
||||
if (inp != NULL && ipsec4_in_reject(m, inp)) {
|
||||
goto drop;
|
||||
}
|
||||
#endif /*FAST_IPSEC*/
|
||||
|
|
|
@ -574,11 +574,14 @@ tcp_input(m, off0)
|
|||
}
|
||||
#endif
|
||||
#ifdef FAST_IPSEC
|
||||
#ifdef INET6
|
||||
if (isipv6) {
|
||||
if (inp != NULL && ipsec6_in_reject(m, inp)) {
|
||||
goto drop;
|
||||
}
|
||||
} else if (inp != NULL && ipsec4_in_reject(m, inp)) {
|
||||
} else
|
||||
#endif
|
||||
if (inp != NULL && ipsec4_in_reject(m, inp)) {
|
||||
goto drop;
|
||||
}
|
||||
#endif /*FAST_IPSEC*/
|
||||
|
|
Loading…
Reference in a new issue