diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-11 16:52:15 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-11 16:52:15 +0000 |
commit | 93cb9518eafbb277112c7369755ac1762ff25229 (patch) | |
tree | bee02945c29f2e9c4a58f189dc372acdfc8a5076 /packet-fddi.c | |
parent | 292e38e2c61edcd14bfa30ca3c72bacda1bcbe32 (diff) | |
download | wireshark-93cb9518eafbb277112c7369755ac1762ff25229.tar.gz wireshark-93cb9518eafbb277112c7369755ac1762ff25229.tar.bz2 wireshark-93cb9518eafbb277112c7369755ac1762ff25229.zip |
I had moved the COL_INFO string to far forward, before fc was
being set. Fixed.
svn path=/trunk/; revision=1940
Diffstat (limited to 'packet-fddi.c')
-rw-r--r-- | packet-fddi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-fddi.c b/packet-fddi.c index 2e6361f93b..93049c5c90 100644 --- a/packet-fddi.c +++ b/packet-fddi.c @@ -3,7 +3,7 @@ * * Laurent Deniel <deniel@worldnet.fr> * - * $Id: packet-fddi.c,v 1.30 2000/05/11 08:15:08 gram Exp $ + * $Id: packet-fddi.c,v 1.31 2000/05/11 16:52:15 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -268,8 +268,6 @@ dissect_fddi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, pinfo->current_proto = "fddi"; if (check_col(pinfo->fd, COL_PROTOCOL)) col_add_str(pinfo->fd, COL_PROTOCOL, "FDDI"); - if (check_col(pinfo->fd, COL_INFO)) - col_add_str(pinfo->fd, COL_INFO, fc_str); /* Extract the source and destination addresses, possibly bit-swapping them. */ @@ -284,6 +282,9 @@ dissect_fddi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, fc = (int) tvb_get_guint8(tvb, FDDI_P_FC); fc_str = fddifc_to_str(fc); + if (check_col(pinfo->fd, COL_INFO)) + col_add_str(pinfo->fd, COL_INFO, fc_str); + /* XXX - copy them to some buffer associated with "pi", rather than just making "src" and "dst" static? */ SET_ADDRESS(&pi.dl_src, AT_ETHER, 6, &src[0]); |