aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-cdp.c3
-rw-r--r--epan/dissectors/packet-gre.c1
-rw-r--r--epan/dissectors/packet-gre.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cdp.c b/epan/dissectors/packet-cdp.c
index 460d623bd1..d0014059e3 100644
--- a/epan/dissectors/packet-cdp.c
+++ b/epan/dissectors/packet-cdp.c
@@ -1447,7 +1447,8 @@ proto_reg_handoff_cdp(void)
cdp_handle = create_dissector_handle(dissect_cdp, proto_cdp);
dissector_add_uint("llc.cisco_pid", 0x2000, cdp_handle);
dissector_add_uint("chdlc.protocol", 0x2000, cdp_handle);
- dissector_add_uint("ppp.protocol", 0x0207, cdp_handle);
+ dissector_add_uint("ppp.protocol", 0x0207, cdp_handle);
+ dissector_add_uint("gre.proto", 0x2000, cdp_handle);
}
/*
diff --git a/epan/dissectors/packet-gre.c b/epan/dissectors/packet-gre.c
index 52ef0dedc3..8f16057d02 100644
--- a/epan/dissectors/packet-gre.c
+++ b/epan/dissectors/packet-gre.c
@@ -126,6 +126,7 @@ const value_string gre_typevals[] = {
{ ETHERTYPE_ARP, "ARP" },
{ SAP_OSINL5, "OSI"},
{ GRE_WCCP, "WCCP"},
+ { GRE_CISCO_CDP, "CDP (Cisco)"},
{ GRE_NHRP, "NHRP"},
{ GRE_ERSPAN_88BE, "ERSPAN"},
{ GRE_ERSPAN_22EB, "ERSPAN"},
diff --git a/epan/dissectors/packet-gre.h b/epan/dissectors/packet-gre.h
index b066182a1c..38df26cfe5 100644
--- a/epan/dissectors/packet-gre.h
+++ b/epan/dissectors/packet-gre.h
@@ -22,6 +22,7 @@
*/
#define GRE_KEEPALIVE 0x0000
+#define GRE_CISCO_CDP 0x2000
#define GRE_NHRP 0x2001
#define GRE_WCCP 0x883E
#define GRE_ERSPAN_88BE 0x88BE