diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-22 04:03:40 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-22 04:03:40 +0000 |
commit | 5052114c3ed9ac4ce9762e48ca0d45b77f352a2a (patch) | |
tree | 9e7578aff2516b968c0f7ba8f710dd25a159b7ac /packet-trmac.c | |
parent | 423275667e1528fc7d4a27c8131a583788143bfc (diff) |
Silly mistake which caused if(tree) to fail.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@68 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-trmac.c')
-rw-r--r-- | packet-trmac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-trmac.c b/packet-trmac.c index 3cc83912a0..d3447fcb2f 100644 --- a/packet-trmac.c +++ b/packet-trmac.c @@ -2,7 +2,7 @@ * Routines for Token-Ring Media Access Control * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-trmac.c,v 1.5 1998/10/21 02:36:54 gram Exp $ + * $Id: packet-trmac.c,v 1.6 1998/10/22 04:03:40 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -284,9 +284,9 @@ dissect_trmac(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) { } if (tree) { - if ((mv_text = match_strval(pd[offset+3], major_vectors))) + if (mv_text) add_item_to_tree(mac_tree, offset+3, 1, "Major Vector Command: %s", - pd[offset+3]); + mv_text); else add_item_to_tree(mac_tree, offset+3, 1, "Major Vector Command: %02X (Unknown)", pd[offset+3]); |