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