From: hannes Date: Sun, 3 Jul 2005 20:33:06 +0000 (+0000) Subject: add GRE and RSVP to the supported IPv6 protos X-Git-Tag: tcpdump-4.0.0~379 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/75d10a57f74bb6fd14eccd90b06c0f70ba432362 add GRE and RSVP to the supported IPv6 protos --- diff --git a/print-ip6.c b/print-ip6.c index bbec2cb5..a3bc90d5 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.48 2005-05-20 21:02:30 hannes Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.49 2005-07-03 20:33:06 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -192,6 +192,7 @@ ip6_print(register const u_char *bp, register u_int length) case IPPROTO_PIM: pim_print(cp, len); return; + case IPPROTO_OSPF: ospf6_print(cp, len); return; @@ -208,6 +209,14 @@ ip6_print(register const u_char *bp, register u_int length) pgm_print(cp, len, (const u_char *)ip6); return; + case IPPROTO_GRE: + gre_print(cp, len); + return; + + case IPPROTO_RSVP: + rsvp_print(cp, len); + return; + case IPPROTO_NONE: (void)printf("no next header"); return;