]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rsvp.c
document SIGUSR1 in manual page
[tcpdump] / print-rsvp.c
index 3f96cb2503f6c28110ce8ead6899c060c5f5c488..51ab9f8ad104229b99d53616a2a09d7f57692a12 100644 (file)
@@ -658,8 +658,7 @@ _U_
 
     while(tlen>=sizeof(struct rsvp_object_header)) {
         /* did we capture enough for fully decoding the object header ? */
-        if (!ND_TTEST2(*tptr, sizeof(struct rsvp_object_header)))
-            goto trunc;
+        ND_TCHECK2(*tptr, sizeof(struct rsvp_object_header));
 
         rsvp_obj_header = (const struct rsvp_object_header *)tptr;
         rsvp_obj_len=EXTRACT_16BITS(rsvp_obj_header->length);