summaryrefslogtreecommitdiff
path: root/net/sniffit/files/patch-src_sn__interface.c
blob: 7430c44da01a37d597b8f471b1c383ea926545f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/sn_interface.c.orig	2020-04-20 01:57:30 UTC
+++ src/sn_interface.c
@@ -22,7 +22,7 @@
 extern char *SHARED, *connection_data, *timing, *running_connections,
                                                   *logged_connections;
 extern int *LISTlength, *DATAlength, memory_id;
-extern unsigned int  *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets; unsigned int  *IP_nr_of_packets;
+extern unsigned int  *TCP_nr_of_packets, *ICMP_nr_of_packets, *UDP_nr_of_packets, *IP_nr_of_packets;
 extern unsigned long *TCP_bytes_in_packets, *UDP_bytes_in_packets;
 extern int *DESC_LEN;   /* For the connection desciption */
 
@@ -526,7 +526,7 @@ reset_shell_mode();
 void mem_exit (void)
 {
 if(shmctl(memory_id,IPC_RMID,0)<0)
-  	{perror("Sniffer Hartattack (you are fucked!) ");exit(0);};
+	{perror("Shared segment dissappeared ");exit(0);};
 }
 
 /* Some other stuff */