summaryrefslogtreecommitdiff
path: root/print-gre.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-gre.c')
-rw-r--r--print-gre.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/print-gre.c b/print-gre.c
index 40496ca7..25c6ac2f 100644
--- a/print-gre.c
+++ b/print-gre.c
@@ -85,6 +85,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_NHRP 0x2001 /* Next Hop Resolution Protocol */
#define GRE_WCCP 0x883e /* Web Cache C* Protocol */
struct wccp_redirect {
@@ -310,6 +311,9 @@ gre_print_0(netdissect_options *ndo, const u_char *bp, u_int length)
case GRE_CDP:
cdp_print(ndo, bp, len);
break;
+ case GRE_NHRP:
+ nhrp_print(ndo, bp, len);
+ break;
default:
ND_PRINT("gre-proto-0x%x", prot);
}