mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 15:19:03 +00:00
Swap SCTP vtag and csum in HIGH_DETAIL output.
Discovered by Gisle Vanem. http://seclists.org/nmap-dev/2013/q3/269
This commit is contained in:
@@ -2652,7 +2652,7 @@ const char *ippackethdrinfo(const u8 *packet, u32 len, int detail) {
|
||||
} else if (detail == HIGH_DETAIL) {
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "SCTP [%s:%d > %s:%d vtag=%ul csum=0x%08x] IP [%s]",
|
||||
srchost, ntohs(sctp->sh_sport), dsthost, ntohs(sctp->sh_dport),
|
||||
ntohl(sctp->sh_sum), ntohl(sctp->sh_vtag),
|
||||
ntohl(sctp->sh_vtag), ntohl(sctp->sh_sum),
|
||||
ipinfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user