mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Use 32-bit values, not 16, for IP ID values.
IP ID fields are overloaded to include the flow label of IPv6 packets. In particular, abstract_ip_hdr is no longer limited to 16 bits.
This commit is contained in:
@@ -160,7 +160,7 @@ struct abstract_ip_hdr {
|
||||
struct sockaddr_storage dst;
|
||||
u8 proto; /* IPv4 proto or IPv6 next header. */
|
||||
u8 ttl; /* IPv4 TTL or IPv6 hop limit. */
|
||||
u16 ipid; /* IPv4 IP ID or IPv6 flow label. */
|
||||
u32 ipid; /* IPv4 IP ID or IPv6 flow label. */
|
||||
};
|
||||
|
||||
void netutil_fatal(const char *str, ...)
|
||||
|
||||
Reference in New Issue
Block a user