diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2012-02-15 17:51:16 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-02-15 17:51:16 -0800 |
commit | 22b428e121d6a8458da79b2aa2f58bf795dfba6a (patch) | |
tree | d238e7e8d96e0f60a2b8e363dbc551416416ba4f /libnet/include/libnet/libnet-headers.h | |
parent | bdb720c97e96c9dbc0d9d7ed4b8e00a65d7686bc (diff) | |
download | libnet-22b428e121d6a8458da79b2aa2f58bf795dfba6a.tar.gz |
libnet_build_igmp reserved field was mistakenly called 'code'
Looks like error occurred because function was a copy of
libnet_build_icmp().
Diffstat (limited to 'libnet/include/libnet/libnet-headers.h')
-rw-r--r-- | libnet/include/libnet/libnet-headers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/include/libnet/libnet-headers.h b/libnet/include/libnet/libnet-headers.h index 11065c7..b126e39 100644 --- a/libnet/include/libnet/libnet-headers.h +++ b/libnet/include/libnet/libnet-headers.h @@ -1062,7 +1062,7 @@ struct libnet_igmp_hdr #ifndef IGMP_LEAVE_GROUP #define IGMP_LEAVE_GROUP 0x17 /* Leave-group message */ #endif - uint8_t igmp_code; /* IGMP code */ + uint8_t igmp_code; /* IGMP reserved field (0), mistakenly called 'code' in early libnet versions */ uint16_t igmp_sum; /* IGMP checksum */ struct in_addr igmp_group;/* IGMP host IP */ }; |