diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-03-02 20:50:05 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-03-02 20:50:05 +0000 |
commit | dc6a300eab51637630c1e3392953d136979d451e (patch) | |
tree | 7266967a456177bdf05c7df0867cdcf507b9657f /packet-fddi.c | |
parent | 0cf5b2de741b83b6accfe456c51c4e1d6580a72b (diff) | |
download | wireshark-dc6a300eab51637630c1e3392953d136979d451e.tar.gz wireshark-dc6a300eab51637630c1e3392953d136979d451e.tar.bz2 wireshark-dc6a300eab51637630c1e3392953d136979d451e.zip |
Add the right byte count to fddi's initial add_item_to_tree so that the entire
FDDI header is highlighted in the hex dump.
svn path=/trunk/; revision=207
Diffstat (limited to 'packet-fddi.c')
-rw-r--r-- | packet-fddi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-fddi.c b/packet-fddi.c index b4ae01e111..c187e02c3e 100644 --- a/packet-fddi.c +++ b/packet-fddi.c @@ -3,7 +3,7 @@ * * Laurent Deniel <deniel@worldnet.fr> * - * $Id: packet-fddi.c,v 1.9 1999/02/09 00:35:37 guy Exp $ + * $Id: packet-fddi.c,v 1.10 1999/03/02 20:50:05 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -207,6 +207,8 @@ void dissect_fddi(const u_char *pd, frame_data *fd, GtkTree *tree) if (check_col(fd, COL_INFO)) col_add_str(fd, COL_INFO, "FDDI"); + offset = FDDI_HEADER_SIZE; + if (tree) { ti = add_item_to_tree(GTK_WIDGET(tree), 0, offset, "FDDI %s", @@ -222,8 +224,6 @@ void dissect_fddi(const u_char *pd, frame_data *fd, GtkTree *tree) ether_to_str(src), get_ether_name(src)); } - offset = FDDI_HEADER_SIZE; - switch (fc) { /* From now, only 802.2 SNAP (Async. LCC frame) is supported */ |