diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-09-22 02:18:19 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-09-22 02:18:19 +0000 |
commit | 6af80b98cb0a7591212a93904520f1fabf23757e (patch) | |
tree | d04758533a14487fd31aad5498d592a226523b7e | |
parent | 23661240d79479200edf0c846851a97eef32b3aa (diff) | |
download | wireshark-6af80b98cb0a7591212a93904520f1fabf23757e.tar.gz |
replace match_strval with val_to_str, where the output was used by string output, but not expecting NULL
svn path=/trunk/; revision=15954
-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); } |