]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-someip.c
Revert partially the commit 21b1273
[tcpdump] / print-someip.c
index bd6a74f39cb441e3a630fcdcefc28cf71706df57..9eb63713f1a2bcc530b49b1f02916ac134f41364 100644 (file)
@@ -16,7 +16,7 @@
 /* \summary: Autosar SOME/IP Protocol printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -77,7 +77,7 @@ static const struct tok return_code_values[] = {
 };
 
 void
-someip_print(netdissect_options *ndo, const u_char *bp, u_int len)
+someip_print(netdissect_options *ndo, const u_char *bp, const u_int len)
 {
     uint32_t message_id;
     uint16_t service_id;