From c7c9b2cca962cb85f35908ce3832d10874d7e5c1 Mon Sep 17 00:00:00 2001 From: ulfl Date: Thu, 22 Sep 2005 02:18:19 +0000 Subject: replace match_strval with val_to_str, where the output was used by string output, but not expecting NULL git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15954 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-netsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-netsync.c b/epan/dissectors/packet-netsync.c index 7422ba764d..1068adb7ba 100644 --- a/epan/dissectors/packet-netsync.c +++ b/epan/dissectors/packet-netsync.c @@ -576,7 +576,7 @@ dissect_netsync_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_item_append_text(netsync_tree, " V%d, Cmd: %s (%d), Size: %d", - version, match_strval(cmd, netsync_cmd_vals), cmd, size ); + version, val_to_str(cmd, netsync_cmd_vals, "(0x%x)"), cmd, size ); proto_item_set_len(netsync_tree, 1+1+size_bytes+size+4); } -- cgit v1.2.3