Home page logo
/

nmap-dev logo Nmap Development mailing list archives

[PATCH] Remove useless variable assignment in tcpip.cc
From: Kris Katterjohn <kjak () ispwest com>
Date: Tue, 14 Mar 2006 14:32:01 -0600

The attached patch removes a useless assignment to a variable.


Thanks,
Kris
--- tcpip.cc.orig       2006-03-08 15:29:54.000000000 -0600
+++ tcpip.cc    2006-03-14 12:36:09.000000000 -0600
@@ -1179,7 +1179,6 @@ char *ping = (char *) &pingpkt;
 pingpkt.code = 0;
 pingpkt.id = id;
 pingpkt.seq = seq;
-pingpkt.checksum = 0;
 pingpkt.checksum = in_cksum((unsigned short *)ping, icmplen);
 
 if ( o.badsum )


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]