aboutsummaryrefslogtreecommitdiffstats
path: root/extras/packethicn/packet-hicn.c
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2021-04-09 11:26:52 +0000
committerGerrit Code Review <gerrit@fd.io>2021-04-09 11:26:52 +0000
commit3e541d7c947cc2f9db145f26c9274efd29a6fb56 (patch)
tree9c30e010d8dda73f5e0455cd8cd3380982ef6589 /extras/packethicn/packet-hicn.c
parentd6a155b63c37682a25b1f5a02c0189af5dd3edef (diff)
parentcd0aa7de71b4f514879b8fc40c57665bbf93c0cd (diff)
Merge "[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS"transport-ng
Diffstat (limited to 'extras/packethicn/packet-hicn.c')
-rw-r--r--extras/packethicn/packet-hicn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/packethicn/packet-hicn.c b/extras/packethicn/packet-hicn.c
index 55ea8747d..c17252bb7 100644
--- a/extras/packethicn/packet-hicn.c
+++ b/extras/packethicn/packet-hicn.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "epan/proto.h"
+#include "epan/etypes.h"
#include <hicn/hicn.h>
@@ -233,7 +234,9 @@ proto_reg_handoff_hicn(void)
static dissector_handle_t hicn_handle;
hicn_handle = create_dissector_handle(dissect_hicn, proto_hicn);
+
dissector_add_uint("udp.port", HICN_PORT, hicn_handle);
+ dissector_add_uint("ethertype", ETHERTYPE_IPv6, hicn_handle);
}
void plugin_register(void)