aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-09-22 02:18:19 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-09-22 02:18:19 +0000
commit6af80b98cb0a7591212a93904520f1fabf23757e (patch)
treed04758533a14487fd31aad5498d592a226523b7e /epan
parent23661240d79479200edf0c846851a97eef32b3aa (diff)
replace match_strval with val_to_str, where the output was used by string output, but not expecting NULL
svn path=/trunk/; revision=15954
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-netsync.c2
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);
}