fixup FAST_IPSEC build w/o INET6

This commit is contained in:
Sam Leffler 2002-11-08 23:33:59 +00:00
parent ab94ca3cec
commit 58fcadfc0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106679
2 changed files with 8 additions and 2 deletions

View file

@ -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*/

View file

@ -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*/