Fix one more de-constifying cast.

This commit is contained in:
Guy Harris 2015-04-28 10:55:24 -07:00
parent 115059d61a
commit bce91cc243

View File

@ -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));