summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2011-08-09 13:10:03 -0700
committerSam Roberts <vieuxtech@gmail.com>2011-08-09 13:10:03 -0700
commit0e5a14bd7fd6a55210dbedb2f6f018ed6e8559eb (patch)
treee1aebfd68bd65f4b7ad3530c5014ecb9dd402fd8
parente20d0bcb9d3eed803bdcd547dbf88b1954204332 (diff)
downloadlibnet-0e5a14bd7fd6a55210dbedb2f6f018ed6e8559eb.tar.gz
Synchronize comment about h_len with parameter name in function.
-rw-r--r--libnet/src/libnet_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/src/libnet_checksum.c b/libnet/src/libnet_checksum.c
index 098b1f3..e3e3600 100644
--- a/libnet/src/libnet_checksum.c
+++ b/libnet/src/libnet_checksum.c
@@ -179,7 +179,7 @@ libnet_do_checksum(libnet_t *l, uint8_t *iphdr, int protocol, int h_len)
*
* iphdr is the pointer to it's encapsulating IP header
* protocol describes the type of "q", expressed as an IPPROTO_ value
- * len is the h_len from "q"
+ * h_len is the h_len from "q"
*/
int
libnet_inet_checksum(libnet_t *l, uint8_t *iphdr, int protocol, int h_len, const uint8_t *beg, const uint8_t * end)