aboutsummaryrefslogtreecommitdiffstats
path: root/packet-radius.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-07-30 07:16:11 +0000
committerGuy Harris <guy@alum.mit.edu>2000-07-30 07:16:11 +0000
commit888b5a1cdb8172c5d059c7b0aa7ff6b9f3f77088 (patch)
tree8cab84dcbd9fbc88687cacea37efb333fcbbbf6f /packet-radius.c
parent838b254defdc57a7a57d47875196d1f6531253e9 (diff)
David Frascone's DIAMETER dissector.
svn path=/trunk/; revision=2176
Diffstat (limited to 'packet-radius.c')
-rw-r--r--packet-radius.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/packet-radius.c b/packet-radius.c
index cf88fe4e18..b5d5172037 100644
--- a/packet-radius.c
+++ b/packet-radius.c
@@ -1,7 +1,7 @@
/* packet-radius.c
* Routines for RADIUS packet disassembly
*
- * $Id: packet-radius.c,v 1.13 2000/05/31 05:07:33 guy Exp $
+ * $Id: packet-radius.c,v 1.14 2000/07/30 07:16:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@@ -39,6 +39,7 @@
#include <glib.h>
#include "packet.h"
#include "resolv.h"
+#include "packet-diameter.h"
static int proto_radius = -1;
static int hf_radius_length = -1;
@@ -680,6 +681,12 @@ proto_tree
gchar *codestrval;
+ if (pd[offset] == 254) {
+ /* We have a diameter packet */
+ dissect_diameter(pd, offset, fd, tree);
+ return;
+ }
+
memcpy(&rh,&pd[offset],sizeof(e_radiushdr));