]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-isoclns.c
RIPng: Use more ND_TCHECK_SIZE() macros
[tcpdump] / print-isoclns.c
index 26032dfebffd3d5ccd7426ed43e5c593a5b78ad6..5b1f9a4e1597e2957884ee548280a981bb392694 100644 (file)
@@ -35,7 +35,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -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));
            }