summarylogtreecommitdiffstats
path: root/fix-globals.patch
blob: dde90f08c8de867a3292a0752978b96fd140727d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --color -ur src/tcpick-0.2.1/src/conn.h src/tcpick-0.2.1-fixed/src/conn.h
--- a/src/conn.h	2004-12-31 15:53:30.000000000 +0200
+++ b/src/conn.h	2021-04-27 14:16:35.892878266 +0300
@@ -80,5 +80,3 @@
 };
 
 
-struct ip * ip_last_header; /* FIXME: check */
-struct tcphdr * tcp_last_header;
diff --color -ur src/tcpick-0.2.1/src/tracker.c src/tcpick-0.2.1-fixed/src/tracker.c
--- a/src/tracker.c	2021-04-27 14:18:30.868244206 +0300
+++ b/src/tracker.c	2021-04-27 14:17:27.041848456 +0300
@@ -28,9 +28,6 @@
 #include "tcpick.h"
 #include "extern.h"
 
-struct CONN * first_conn = NULL; /*all connections, ends on a 0*/
-struct CONN * last_conn  = NULL; 
-
 int 
 status_switch(struct CONN * prev, enum STATUS status) 
 {