Move two global variables to automatic variables within the
only function where they are used (they are used with TCPDEBUG only).
This commit is contained in:
parent
3c75ad7ec0
commit
410bb1bfe2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98703
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user