]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rsvp.c
Merge pull request #4 from infrastation/master
[tcpdump] / print-rsvp.c
index 3778e62b9514ccf8fa8ce64dae9f5f372ee02bd4..1c76dcbbf6a9ac85f05236581c8356947a5da807 100644 (file)
@@ -636,7 +636,15 @@ rsvp_intserv_print(const u_char *tptr, u_short obj_tlen) {
 }
 
 static int
-rsvp_obj_print (const u_char *pptr, u_int plen, const u_char *tptr,
+rsvp_obj_print (const u_char *pptr
+#ifndef HAVE_LIBCRYPTO
+_U_
+#endif
+, u_int plen
+#ifndef HAVE_LIBCRYPTO
+_U_
+#endif
+, const u_char *tptr,
                 const char *ident, u_int tlen) {
 
     const struct rsvp_object_header *rsvp_obj_header;
@@ -1782,7 +1790,7 @@ rsvp_obj_print (const u_char *pptr, u_int plen, const u_char *tptr,
         }
         /* do we also want to see a hex dump ? */
         if (vflag > 1 || hexdump==TRUE)
-            print_unknown_data(tptr+sizeof(sizeof(struct rsvp_object_header)),"\n\t    ", /* FIXME indentation */
+            print_unknown_data(tptr+sizeof(struct rsvp_object_header),"\n\t    ", /* FIXME indentation */
                                rsvp_obj_len-sizeof(struct rsvp_object_header));
 
         tptr+=rsvp_obj_len;