diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-22 02:18:19 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-22 02:18:19 +0000 |
commit | c7c9b2cca962cb85f35908ce3832d10874d7e5c1 (patch) | |
tree | d04758533a14487fd31aad5498d592a226523b7e | |
parent | f217310d259bd067c258c6520905aa8b3e67d0c2 (diff) |
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
-rw-r--r-- | epan/dissectors/packet-netsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |