mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-27 03:53:53 +08:00
Fix one more de-constifying cast.
This commit is contained in:
parent
115059d61a
commit
bce91cc243
@ -1340,7 +1340,7 @@ isis_print_mt_port_cap_subtlv(netdissect_options *ndo,
|
||||
if (!ND_TTEST2(*(tptr), ISIS_SUBTLV_SPB_MCID_MIN_LEN))
|
||||
goto trunctlv;
|
||||
|
||||
subtlv_spb_mcid = (struct isis_subtlv_spb_mcid *)tptr;
|
||||
subtlv_spb_mcid = (const struct isis_subtlv_spb_mcid *)tptr;
|
||||
|
||||
ND_PRINT((ndo, "\n\t MCID: "));
|
||||
isis_print_mcid(ndo, &(subtlv_spb_mcid->mcid));
|
||||
|
Loading…
Reference in New Issue
Block a user