summaryrefslogtreecommitdiff
path: root/libnet/include
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2011-08-10 14:17:02 -0700
committerSam Roberts <vieuxtech@gmail.com>2011-08-10 14:17:02 -0700
commit037dc4173ba6b84c212694f07857d6a536e6a4c6 (patch)
treef8f97cb7868ba968091a48db4d8fc333047cb44f /libnet/include
parent43899aa0ed4b9c1ed1434533b54e3976d2bea45c (diff)
downloadlibnet-037dc4173ba6b84c212694f07857d6a536e6a4c6.tar.gz
Fix libnet_build_igmp() to not reverse the order of the ip address.
libnet APIs that take IP addresses as a uint32_t expect them to already be in network byte order.
Diffstat (limited to 'libnet/include')
-rw-r--r--libnet/include/libnet/libnet-functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/include/libnet/libnet-functions.h b/libnet/include/libnet/libnet-functions.h
index 5bcfdbf..7cc3060 100644
--- a/libnet/include/libnet/libnet-functions.h
+++ b/libnet/include/libnet/libnet-functions.h
@@ -799,7 +799,7 @@ uint8_t *payload, uint32_t payload_s, libnet_t *l, libnet_ptag_t ptag);
* @param type packet type
* @param code packet code (should be 0)
* @param sum checksum (0 for libnet to autofill)
- * @param ip IPv4 address
+ * @param ip IPv4 address (in standard/network byte order)
* @param payload optional payload or NULL
* @param payload_s payload length or 0
* @param l pointer to a libnet context