Skip to content

Commit 79595dc

Browse files
committed
Make IP_nr_of_packets declarations consistent.
1 parent b20d2f4 commit 79595dc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/sn_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ char *SHARED, *connection_data, *logged_connections;
169169
struct shared_conn_data *running_connections;
170170
int *LISTlength, *DATAlength, memory_id;
171171
unsigned int *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets;
172-
extern unsigned int *IP_nr_of_packets;
172+
unsigned int *IP_nr_of_packets;
173173
unsigned long *TCP_bytes_in_packets, *UDP_bytes_in_packets;
174174
int *DESC_LEN;
175175

src/sn_interface.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
extern char *SHARED, *connection_data, *logged_connections;
2424
extern struct shared_conn_data *running_connections;
2525
extern int *LISTlength, *DATAlength, memory_id;
26-
extern unsigned int *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets; unsigned int *IP_nr_of_packets;
26+
extern unsigned int *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets;
27+
extern unsigned int *IP_nr_of_packets;
2728
extern unsigned long *TCP_bytes_in_packets, *UDP_bytes_in_packets;
2829
extern int *DESC_LEN; /* For the connection desciption */
2930

0 commit comments

Comments
 (0)