]> The Tcpdump Group git mirrors - tcpdump/commitdiff
UDP: Add two missing return
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 25 May 2018 11:21:31 +0000 (13:21 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 25 May 2018 11:21:43 +0000 (13:21 +0200)
print-udp.c

index ec40f2ce5203e426bb39a7d0b67b90197846f073..47838307f4c57a9fb060e33716d7722e50214f5b 100644 (file)
@@ -132,6 +132,7 @@ vat_print(netdissect_options *ndo, const void *hdr, u_int length)
                if (i0 & 0x3f000000)
                        ND_PRINT(" s%u", (i0 >> 24) & 0x3f);
        }
+       return;
 
 trunc:
        nd_print_trunc(ndo);
@@ -221,6 +222,7 @@ rtp_print(netdissect_options *ndo, const void *hdr, u_int len)
                if (contype == 0x1f) /*XXX H.261 */
                        ND_PRINT(" 0x%04x", EXTRACT_BE_U_4(ip) >> 16);
        }
+       return;
 
 trunc:
        nd_print_trunc(ndo);