IPX over IP (rfc 1234) added. Very trivial.
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Sep 1998 16:16:01 +0000 (16:16 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 21 Sep 1998 16:16:01 +0000 (16:16 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20 f5534014-38df-0310-8fa8-9805f1628bb7

packet-udp.c
packet.h

index 277f94b84125aab51302d861bce6145310929638..fd9036b8f6c6a5935282f3f0e04935e0e3dd9739 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-udp.c
  * Routines for UDP packet disassembly
  *
- * $Id: packet-udp.c,v 1.2 1998/09/16 03:22:13 gerald Exp $
+ * $Id: packet-udp.c,v 1.3 1998/09/21 16:16:01 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -88,6 +88,9 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
       /* we should check the source port too (RIP: UDP src and dst port 520) */
       dissect_rip(pd, offset, fd, tree);
       break;
+    case UDP_PORT_IPX: /* RFC 1234 */
+      dissect_ipx(pd, offset, fd, tree);
+      break;
     default:
       dissect_data(pd, offset, fd, tree);
   }
index a43cf8ecb151170325ecf698a8c8790d55cc346b..3dbb8bfa2c9223b073561d956c907c46214c0f60 100644 (file)
--- a/packet.h
+++ b/packet.h
@@ -1,7 +1,7 @@
 /* packet.h
  * Definitions for packet disassembly structures and routines
  *
- * $Id: packet.h,v 1.5 1998/09/17 03:12:28 gerald Exp $
+ * $Id: packet.h,v 1.6 1998/09/21 16:16:00 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -250,6 +250,7 @@ typedef struct _e_udphdr {
 
 #define UDP_PORT_DNS 53
 #define UDP_PORT_BOOTPS 67
+#define UDP_PORT_IPX 213
 #define UDP_PORT_RIP 520
 
 /* TCP Ports */