aboutsummaryrefslogtreecommitdiffstats
path: root/packet-radius.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-22 08:54:08 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-22 08:54:08 +0000
commita4e137f630823d36bcfb8ab402556ca9e6d0d734 (patch)
tree8617f6910eca8b6064b548f3d9cd6357d07843f1 /packet-radius.c
parentc57c848dfa1f7061ada20fa88ad6eac33ad1ea7c (diff)
Remove more "CHECK_DISPLAY_AS_DATA()" calls and "pinfo->current_proto ="
statements. Move the setting of the Protocol column in various dissectors before anything is fetched from the packet, and also clear the Info column at that point in those and some other dissectors, so that if an exception is thrown, the columns don't reflect the previous protocol. svn path=/trunk/; revision=2932
Diffstat (limited to 'packet-radius.c')
-rw-r--r--packet-radius.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-radius.c b/packet-radius.c
index dc79f770d2..7bb763d211 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.23 2001/01/16 23:35:58 guy Exp $
+ * $Id: packet-radius.c,v 1.24 2001/01/22 08:54:06 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@@ -689,8 +689,6 @@ proto_tree
return;
}
- OLD_CHECK_DISPLAY_AS_DATA(proto_radius, pd, offset, fd, tree);
-
memcpy(&rh,&pd[offset],sizeof(e_radiushdr));