aboutsummaryrefslogtreecommitdiffstats
path: root/packet-radius.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-02-01 06:49:25 +0000
committerJörg Mayer <jmayer@loplof.de>2004-02-01 06:49:25 +0000
commit38faa0f27bad25d554fad15509ea6eeb8b81240f (patch)
treec5523d5a731fb2a0992e07d16613b37d2961d47e /packet-radius.c
parentd62f6c67da505b319272a274a05be983889330c0 (diff)
packet-dcerpc-afs4int.c
svn path=/trunk/; revision=9938
Diffstat (limited to 'packet-radius.c')
-rw-r--r--packet-radius.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-radius.c b/packet-radius.c
index d7eb241b79..f81f572d3a 100644
--- a/packet-radius.c
+++ b/packet-radius.c
@@ -6,7 +6,7 @@
*
* RFC 2865, RFC 2866, RFC 2867, RFC 2868, RFC 2869
*
- * $Id: packet-radius.c,v 1.89 2004/01/13 03:27:47 guy Exp $
+ * $Id: packet-radius.c,v 1.90 2004/02/01 06:49:22 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -44,7 +44,9 @@
#include "packet-gtp.h"
#include "prefs.h"
#include "crypt-md5.h"
+#include "tap.h"
+static int radius_tap = -1;
static int proto_radius = -1;
static int hf_radius_length = -1;
static int hf_radius_code = -1;
@@ -2845,6 +2847,7 @@ static void dissect_radius(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_attribute_value_pairs(tvb, hdrlength, avptree, avplength, pinfo);
}
+ tap_queue_packet(radius_tap, pinfo, NULL);
}
/* registration with the filtering engine */
void
@@ -2881,6 +2884,7 @@ proto_register_radius(void)
prefs_register_string_preference(radius_module,"shared_secret","Shared Secret",
"Shared secret used to decode User Passwords",
&shared_secret);
+ radius_tap = register_tap("radius");
}
void