diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-06-12 14:59:03 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-06-12 14:59:03 +0400 |
commit | f0f2e6d058c90f758bc13c119d738317b2452911 (patch) | |
tree | 4fb8fdf8f986897b8fa126a1bac09b787073f654 /print-vqp.c | |
parent | d521030537493e95bba27ef7b5e64ff99ea85a82 (diff) | |
download | tcpdump-f0f2e6d058c90f758bc13c119d738317b2452911.tar.gz |
don't reinvent ND_TCHECK2()
Diffstat (limited to 'print-vqp.c')
-rw-r--r-- | print-vqp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-vqp.c b/print-vqp.c index 04dbcc2e..ce3572ac 100644 --- a/print-vqp.c +++ b/print-vqp.c @@ -167,8 +167,7 @@ vqp_print(netdissect_options *ndo, register const u_char *pptr, register u_int l } /* did we capture enough for fully decoding the object ? */ - if (!ND_TTEST2(*tptr, vqp_obj_len)) - goto trunc; + ND_TCHECK2(*tptr, vqp_obj_len); switch(vqp_obj_type) { case VQP_OBJ_IP_ADDRESS: |