1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 16:09:02 +00:00

constify the pointer passed to magic_tcpudp_cksum.

This commit is contained in:
david
2008-08-21 17:43:23 +00:00
parent 9e6a88ad67
commit 177e2cd4a2
2 changed files with 2 additions and 2 deletions

View File

@@ -481,7 +481,7 @@ unsigned short in_cksum(u16 *ptr,int nbytes);
unsigned short magic_tcpudp_cksum(const struct in_addr *src,
const struct in_addr *dst,
u8 proto, u16 len, char *hstart);
u8 proto, u16 len, const void *hstart);
/* Build and send a raw tcp packet. If TTL is -1, a partially random
(but likely large enough) one is chosen */