aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2020-01-08 17:48:27 +0100
committerJörg Mayer <jmayer@loplof.de>2020-01-09 14:56:36 +0000
commitdda104cddecb3e85a37e1e30cc49b542404fbbb3 (patch)
treecfb6e00d96fcf79e992e6b31f3bc6c0892ab9be3
parentd01b85c028f912b3100d2590067bd2a8ef705c34 (diff)
Add Ethertype 8988 used on the heartbeatlink inside a Paloalto firewall cluster
Change-Id: Id1aef0ba84e17ee15c51af3110a1af4636fd6e4d Reviewed-on: https://code.wireshark.org/review/35718 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
-rw-r--r--epan/dissectors/packet-ethertype.c3
-rw-r--r--epan/etypes.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c
index 1b3ece0381..bd2c4f4f21 100644
--- a/epan/dissectors/packet-ethertype.c
+++ b/epan/dissectors/packet-ethertype.c
@@ -99,6 +99,7 @@ const value_string etype_vals[] = {
{ ETHERTYPE_MSRP, "802.1Qat Multiple Stream Reservation Protocol" },
{ ETHERTYPE_MMRP, "802.1ak Multiple Mac Registration Protocol" },
{ ETHERTYPE_NSH, "Network Service Header" },
+ { ETHERTYPE_PA_HBBACKUP, "PA HB Backup" },
{ ETHERTYPE_AVBTP, "IEEE 1722 Audio Video Bridging Transport Protocol" },
{ ETHERTYPE_ROHC, "Robust Header Compression(RoHC)" },
{ ETHERTYPE_TRILL, "TRansparent Interconnection of Lots of Links" },
@@ -214,7 +215,7 @@ dissect_ethertype(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
tvbuff_t *volatile next_tvb;
guint length_before;
gint captured_length, reported_length;
- volatile int dissector_found = 0;
+ volatile int dissector_found = 0;
const char *volatile saved_proto;
ethertype_data_t *ethertype_data;
diff --git a/epan/etypes.h b/epan/etypes.h
index 0336e36203..5656594ddd 100644
--- a/epan/etypes.h
+++ b/epan/etypes.h
@@ -578,6 +578,10 @@ extern "C" {
#define ETHERTYPE_NSH 0x894F /* Network Service Header (draft-ietf-sfc-nsh-01.txt) */
#endif
+#ifndef ETHERTYPE_PA_HBBACKUP
+#define ETHERTYPE_PA_HBBACKUP 0x8988 /* Paloalto Networks Cluster heartbeat backup via mgmt interfaces */
+#endif
+
#ifndef ETHERTYPE_LOOP
#define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
#endif