]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Declare vxlan_print() and otv_print() in interface.h, and fix its definition.
authorGuy Harris <[email protected]>
Tue, 26 Mar 2013 09:03:32 +0000 (02:03 -0700)
committerGuy Harris <[email protected]>
Tue, 26 Mar 2013 09:03:32 +0000 (02:03 -0700)
They doesn't use their third argument, and they aren't being passed a
third argument, so get rid of that argument.

interface.h
print-otv.c
print-vxlan.c

index 2dff9d81b77eb0970aa3be1e72a8f464e057e212..5703f3d5c63be9cd2322e9cad34ecd5e868cdfe5 100644 (file)
@@ -321,6 +321,8 @@ extern void syslog_print(const u_char *, u_int);
 extern u_int bt_if_print(const struct pcap_pkthdr *, const u_char *);
 extern u_int usb_linux_48_byte_print(const struct pcap_pkthdr *, const u_char *);
 extern u_int usb_linux_64_byte_print(const struct pcap_pkthdr *, const u_char *);
+extern void vxlan_print(const u_char *, u_int);
+extern void otv_print(const u_char *, u_int);
 
 
 #ifdef INET6
index f312b0ba93e44718f73618e5839e63140b345920..cd5395742129a0f58ec81c5dc278a217510086e0 100644 (file)
@@ -41,7 +41,7 @@
  */
 
 void
-otv_print(const u_char *bp, u_int len, u_int port)
+otv_print(const u_char *bp, u_int len)
 {
     u_int8_t flags;
     u_int32_t overlay_id;
index 9f8c3fb451ab22792ec93efe82f4857ed2abbf9d..80344634d1a370b31e5841ebb8cc167563be5182 100644 (file)
@@ -41,7 +41,7 @@
  */
 
 void
-vxlan_print(const u_char *bp, u_int len, u_int port)
+vxlan_print(const u_char *bp, u_int len)
 {
     u_int8_t flags;
     u_int32_t vni;