X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e2982e7f6f0b624a773ec5a58885ee80fab46d34..ff2bbd6ffe2ba25884e36f2bcc97fb156cf280e6:/print-isoclns.c diff --git a/print-isoclns.c b/print-isoclns.c index 7c34943e..5b1f9a4e 100644 --- a/print-isoclns.c +++ b/print-isoclns.c @@ -35,10 +35,10 @@ */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include +#include "netdissect-stdinc.h" #include @@ -2889,7 +2889,7 @@ isis_print(netdissect_options *ndo, tmp--; } if(tmp>sizeof(tlv_ptp_adj->extd_local_circuit_id)) { - ND_TCHECK(tlv_ptp_adj->extd_local_circuit_id); + ND_TCHECK_4(tlv_ptp_adj->extd_local_circuit_id); ND_PRINT("\n\t Extended Local circuit-ID: 0x%08x", EXTRACT_BE_U_4(tlv_ptp_adj->extd_local_circuit_id)); tmp-=sizeof(tlv_ptp_adj->extd_local_circuit_id); @@ -2901,7 +2901,7 @@ isis_print(netdissect_options *ndo, tmp-=SYSTEM_ID_LEN; } if(tmp>=sizeof(tlv_ptp_adj->neighbor_extd_local_circuit_id)) { - ND_TCHECK(tlv_ptp_adj->neighbor_extd_local_circuit_id); + ND_TCHECK_4(tlv_ptp_adj->neighbor_extd_local_circuit_id); ND_PRINT("\n\t Neighbor Extended Local circuit-ID: 0x%08x", EXTRACT_BE_U_4(tlv_ptp_adj->neighbor_extd_local_circuit_id)); }