diff options
author | nneul <nneul@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-08 18:12:06 +0000 |
---|---|---|
committer | nneul <nneul@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-08 18:12:06 +0000 |
commit | acc924d77d93c9556668cc52a5516cbcd7087131 (patch) | |
tree | 2120bb17a709a94d86920bda8f9b14d651c992e7 /packet-rx.c | |
parent | c4bdd72d26ca46da8bc216c0324846b032dc59af (diff) |
proto tree style fixes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1243 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rx.c')
-rw-r--r-- | packet-rx.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-rx.c b/packet-rx.c index d787baf851..e615d1e490 100644 --- a/packet-rx.c +++ b/packet-rx.c @@ -4,7 +4,7 @@ * Based on routines from tcpdump patches by * Ken Hornstein <kenh@cmf.nrl.navy.mil> * - * $Id: packet-rx.c,v 1.4 1999/11/16 11:42:53 guy Exp $ + * $Id: packet-rx.c,v 1.5 1999/12/08 18:12:06 nneul Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -109,8 +109,9 @@ dissect_rx(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) if (tree) { - ti = proto_tree_add_item(tree, proto_rx, offset, - sizeof(struct rx_header), NULL); + ti = proto_tree_add_item_format(tree, proto_rx, offset, + sizeof(struct rx_header), NULL, "RX Protocol (%s)", + val_to_str(rxh->type,rx_types,"unknown (%d)")); rx_tree = proto_item_add_subtree(ti, ett_rx); proto_tree_add_item(rx_tree, hf_rx_epoch, |