]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vtp.c
UDP: Add two missing return
[tcpdump] / print-vtp.c
index 358a294e4e258a39210a6fbb1ebcb1d0e25b4b08..2718d2ac57a1113a840dc8ce87292409936fc80d 100644 (file)
@@ -116,8 +116,8 @@ static const struct tok vtp_stp_type_values[] = {
 };
 
 void
-vtp_print (netdissect_options *ndo,
-           const u_char *pptr, u_int length)
+vtp_print(netdissect_options *ndo,
+          const u_char *pptr, u_int length)
 {
     u_int type, len, name_len, tlv_len, tlv_value, mgmtd_len;
     const u_char *tptr;
@@ -394,5 +394,5 @@ vtp_print (netdissect_options *ndo,
     return;
 
  trunc:
-    ND_PRINT("[|vtp]");
+    nd_print_trunc(ndo);
 }