From d3bd53ff459e4ef25fc5e5184b23f3cc8b29ed3f Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 18 May 2000 08:41:22 +0000 Subject: Paul Ionescu's patch to add support for IPX over GRE. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1974 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-gre.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packet-gre.c') diff --git a/packet-gre.c b/packet-gre.c index 41f9bafaeb..7af6b079a1 100644 --- a/packet-gre.c +++ b/packet-gre.c @@ -2,7 +2,7 @@ * Routines for the Generic Routing Encapsulation (GRE) protocol * Brad Robel-Forrest * - * $Id: packet-gre.c,v 1.19 2000/05/11 08:15:09 gram Exp $ + * $Id: packet-gre.c,v 1.20 2000/05/18 08:41:13 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -39,6 +39,7 @@ #include "packet.h" #include "packet-ip.h" #include "packet-ppp.h" +#include "packet-ipx.h" static int proto_gre = -1; static int hf_gre_proto = -1; @@ -61,6 +62,7 @@ static gint ett_gre_flags = -1; #define GRE_PPP 0x880B #define GRE_IP 0x0800 #define GRE_WCCP 0x883E +#define GRE_IPX 0x8137 static void add_flags_and_ver(proto_tree *, guint16, int, int); @@ -68,6 +70,7 @@ static const value_string typevals[] = { { GRE_PPP, "PPP" }, { GRE_IP, "IP" }, { GRE_WCCP, "WCCP"}, + { GRE_IPX, "IPX"}, { 0, NULL } }; @@ -214,6 +217,9 @@ dissect_gre(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { } dissect_ip(pd, offset, fd, tree); break; + case GRE_IPX: + dissect_ipx(pd, offset, fd, tree); + break; default: dissect_data(pd, offset, fd, gre_tree); break; -- cgit v1.2.3