diff options
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r-- | sys/netinet/tcp_reass.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 03ed420..9b6636b 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -641,17 +641,20 @@ findpcb: } #if defined(IPSEC) || defined(FAST_IPSEC) +#ifdef INET6 if (isipv6) { if (inp != NULL && ipsec6_in_reject(m, inp)) { #ifdef IPSEC ipsec6stat.in_polvio++; -#endif /*IPSEC*/ +#endif goto drop; } - } else if (inp != NULL && ipsec4_in_reject(m, inp)) { + } else +#endif /* INET6 */ + if (inp != NULL && ipsec4_in_reject(m, inp)) { #ifdef IPSEC ipsecstat.in_polvio++; -#endif /*IPSEC*/ +#endif goto drop; } #endif /*IPSEC || FAST_IPSEC*/ |