diff options
Diffstat (limited to 'print-gre.c')
-rw-r--r-- | print-gre.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/print-gre.c b/print-gre.c index a174268e..40496ca7 100644 --- a/print-gre.c +++ b/print-gre.c @@ -84,6 +84,7 @@ static const struct tok gre_flag_values[] = { /* * Ethertype values used for GRE (but not elsewhere?). */ +#define GRE_CDP 0x2000 /* Cisco Discovery Protocol */ #define GRE_WCCP 0x883e /* Web Cache C* Protocol */ struct wccp_redirect { @@ -306,6 +307,9 @@ gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length) case ETHERTYPE_NSH: nsh_print(ndo, bp, len); break; + case GRE_CDP: + cdp_print(ndo, bp, len); + break; default: ND_PRINT("gre-proto-0x%x", prot); } |