aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-07-19 09:41:33 +0200
committerAnders Broman <a.broman58@gmail.com>2016-07-19 11:46:59 +0000
commitd75de9f7559f1e0417c06a5b09d0fa3cf775d92c (patch)
tree0b4f6b6fbae4a68d93a703c7f1d34f380cbeb41e /epan/dissectors/packet-ip.c
parent0da99953581b3c044e9dcf080b0374ace691189b (diff)
VXLAN: use the newly created vxlan.next_proto dissector table everywhere
Change-Id: Ib6f44e0f1d3d8c76d2b6e6c778af8c243af4389c Reviewed-on: https://code.wireshark.org/review/16543 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-rw-r--r--epan/dissectors/packet-ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index 1590d13cb2..aac46b2cd1 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -56,6 +56,7 @@
#include "packet-sflow.h"
#include "packet-gre.h"
#include "packet-l2tp.h"
+#include "packet-vxlan.h"
#ifdef HAVE_GEOIP
#include <GeoIP.h>
@@ -3205,6 +3206,7 @@ proto_reg_handoff_ip(void)
dissector_add_for_decode_as("pcli.payload", ip_handle);
dissector_add_uint("wtap_encap", WTAP_ENCAP_RAW_IP4, ip_handle);
dissector_add_uint("enc", BSD_AF_INET, ip_handle);
+ dissector_add_uint("vxlan.next_proto", VXLAN_IPV4, ip_handle);
heur_dissector_add("tipc", dissect_ip_heur, "IP over TIPC", "ip_tipc", proto_ip, HEURISTIC_ENABLE);
register_capture_dissector("ethertype", ETHERTYPE_IP, capture_ip, proto_ip);