diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-16 09:35:07 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-06-16 09:35:07 +0000 |
| commit | d420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (patch) | |
| tree | 5ad07b41e6ef17cf5d83a2cd887be374fa6c5614 /sys/netinet/tcp_input.c | |
| parent | 49b19bfc47a5c7e64090c4631d198d29be0cee77 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
| -rw-r--r-- | sys/netinet/tcp_input.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 03ed42012cc2..9b6636b1f99e 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.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*/ |
