aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/tcp_input.c5
-rw-r--r--sys/netinet/tcp_reass.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 25db5c1fde5e..d787daae7b34 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -85,8 +85,6 @@
#ifdef TCPDEBUG
#include <netinet/tcp_debug.h>
-u_char tcp_saveipgen[40]; /* the size must be of max ip header, now IPv6 */
-struct tcphdr tcp_savetcp;
#endif /* TCPDEBUG */
#ifdef IPSEC
@@ -352,6 +350,9 @@ tcp_input(m, off0)
int headlocked = 0;
#ifdef TCPDEBUG
+ u_char tcp_saveipgen[40];
+ /* the size of the above must be of max ip header, now IPv6 */
+ struct tcphdr tcp_savetcp;
short ostate = 0;
#endif
#ifdef INET6
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 25db5c1fde5e..d787daae7b34 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -85,8 +85,6 @@
#ifdef TCPDEBUG
#include <netinet/tcp_debug.h>
-u_char tcp_saveipgen[40]; /* the size must be of max ip header, now IPv6 */
-struct tcphdr tcp_savetcp;
#endif /* TCPDEBUG */
#ifdef IPSEC
@@ -352,6 +350,9 @@ tcp_input(m, off0)
int headlocked = 0;
#ifdef TCPDEBUG
+ u_char tcp_saveipgen[40];
+ /* the size of the above must be of max ip header, now IPv6 */
+ struct tcphdr tcp_savetcp;
short ostate = 0;
#endif
#ifdef INET6