summaryrefslogtreecommitdiff
path: root/print-ip-demux.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-04-11 03:05:46 -0700
committerGuy Harris <gharris@sonic.net>2023-04-11 04:11:49 -0700
commit6c8a3facc7f5eb6a03c5a606ebf2c0fcfd0e70cc (patch)
tree03b2546be82d6bd0c7ec0b1260c6e0b9d68f3c7e /print-ip-demux.c
parentcebc5988bdde08a21714f66479bf9a6a5150d2da (diff)
downloadtcpdump-6c8a3facc7f5eb6a03c5a606ebf2c0fcfd0e70cc.tar.gz
Add support for dissecting RFC 2332 NHRP.
This is from the OpenBSD tcpdump.
Diffstat (limited to 'print-ip-demux.c')
-rw-r--r--print-ip-demux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/print-ip-demux.c b/print-ip-demux.c
index a0a6fbd1..a71d8c12 100644
--- a/print-ip-demux.c
+++ b/print-ip-demux.c
@@ -216,6 +216,10 @@ again:
}
break;
+ case IPPROTO_NHRP:
+ nhrp_print(ndo, bp, length);
+ break;
+
case IPPROTO_NONE:
ND_PRINT("no next header");
break;