mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-02 22:43:57 +08:00
RT6: Print SRH TLV HMAC "reserved" field if non zero in verbose mode
reserved: MUST be 0 (MBZ).
This commit is contained in:
parent
c7fd6445c6
commit
89b68e1a5f
@ -79,6 +79,8 @@ srh_tlv_print(netdissect_options *ndo, const u_char *p, u_int bytes_left)
|
||||
p += 2;
|
||||
if (ndo->ndo_vflag)
|
||||
ND_PRINT(", D=%u", reserved >> 15);
|
||||
if (ndo->ndo_vflag && (reserved & 0x7fff) != 0)
|
||||
ND_PRINT(", reserved MBZ %u", reserved & 0x7fff);
|
||||
key_id = GET_BE_U_4(p);
|
||||
p += 4;
|
||||
if (ndo->ndo_vflag)
|
||||
|
Loading…
Reference in New Issue
Block a user