mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
8-byte display for SCTP checksum.
This commit is contained in:
parent
ed237e8e19
commit
4961ebf047
1 changed files with 1 additions and 1 deletions
|
|
@ -2646,7 +2646,7 @@ const char *ippackethdrinfo(const u8 *packet, u32 len, int detail) {
|
|||
srchost, ntohs(sctp->sh_sport), dsthost, ntohs(sctp->sh_dport),
|
||||
ipinfo);
|
||||
} else if (detail == MEDIUM_DETAIL) {
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "SCTP [%s:%d > %s:%d csum=0x%04x] IP [%s]",
|
||||
Snprintf(protoinfo, sizeof(protoinfo), "SCTP [%s:%d > %s:%d csum=0x%08x] IP [%s]",
|
||||
srchost, ntohs(sctp->sh_sport), dsthost, ntohs(sctp->sh_dport), ntohl(sctp->sh_sum),
|
||||
ipinfo);
|
||||
} else if (detail == HIGH_DETAIL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue