diff options
Diffstat (limited to 'print-vtp.c')
-rw-r--r-- | print-vtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/print-vtp.c b/print-vtp.c index 285beb96..18c1356e 100644 --- a/print-vtp.c +++ b/print-vtp.c @@ -223,6 +223,7 @@ vtp_print (netdissect_options *ndo, * */ + ND_TCHECK_32BITS(tptr); ND_PRINT((ndo, ", Config Rev %x", EXTRACT_32BITS(tptr))); /* @@ -243,6 +244,7 @@ vtp_print (netdissect_options *ndo, tptr += 4; while (tptr < (pptr+length)) { + ND_TCHECK_8BITS(tptr); len = *tptr; if (len == 0) break; |