1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 19:39:07 +00:00

Standardize on ip6_nhdr in packet.lua.

Some places were using ip6_nxt_hdr and some were using ip6_nhdr.
ip6_nhdr seemed to be the prevailing usage.
This commit is contained in:
david
2011-10-29 19:40:14 +00:00
parent bca60ba8de
commit 622e2e08a7
2 changed files with 4 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ local function single_interface_broadcast(if_nfo, results)
probe:build_icmpv6_header()
probe.exheader = build_invalid_extension_header(packet.IPPROTO_ICMPV6)
probe.ip6_nxt_hdr = packet.IPPROTO_DSTOPTS
probe.ip6_nhdr = packet.IPPROTO_DSTOPTS
probe:build_ipv6_packet()
probe:build_ether_frame()