diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-03-03 01:31:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-03-03 01:31:49 +0000 |
commit | 607bb970566c997c316bf0dac37ace2068959681 (patch) | |
tree | 6a2182acf53e3aed832641dc50de076bc69cbfd5 /epan/dissectors/packet-msproxy.c | |
parent | 4d978fd997f2178fcbb8de78ed6532151586c612 (diff) |
The general convention for "interpreted" fields, where we display a more
human-friendly version of the value followed by the raw value, is to put
the human-friendly name first, with the raw value after it in
parentheses. Follow that convention for the command code.
svn path=/trunk/; revision=48029
Diffstat (limited to 'epan/dissectors/packet-msproxy.c')
-rw-r--r-- | epan/dissectors/packet-msproxy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-msproxy.c b/epan/dissectors/packet-msproxy.c index 6a442fc1bf..7a7a8b8749 100644 --- a/epan/dissectors/packet-msproxy.c +++ b/epan/dissectors/packet-msproxy.c @@ -685,8 +685,9 @@ static void dissect_msproxy_request(tvbuff_t *tvb, if ( tree) proto_tree_add_uint_format( tree, hf_msproxy_cmd, tvb, offset, 2, - cmd, "Command: 0x%02x (%s)", cmd, - get_msproxy_cmd_name( cmd, FROM_CLIENT)); + cmd, "Command: %s (0x%02x)", + get_msproxy_cmd_name( cmd, FROM_CLIENT), + cmd); offset += 2; |