diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-22 08:54:08 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-22 08:54:08 +0000 |
commit | fb775d77be552c68e769669020799cb07f55594d (patch) | |
tree | 8617f6910eca8b6064b548f3d9cd6357d07843f1 /packet-radius.c | |
parent | 2b0ceccd4b42ba9ce196782fac8a8d64f37be0f9 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2932 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-radius.c')
-rw-r--r-- | packet-radius.c | 4 |
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)); |