packet-tds.c: Correct encoding for hf_tds_colmetadata_maxbytesize

It's just a FT_UINT16, not need for 2 encodings.

Change-Id: I502a61a2ff2a1fd05f1efa48912119f98d10e636
Reviewed-on: https://code.wireshark.org/review/24498
Reviewed-by: Craig Jackson <cejackson51@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2017-11-19 20:26:06 -05:00
parent 5b55848789
commit d17633892c
1 changed files with 1 additions and 1 deletions

View File

@ -3136,7 +3136,7 @@ dissect_tds7_colmetadata_token(tvbuff_t *tvb, struct _netlib_data *nl_data, guin
}
case TDS_DATA_TYPE_UDT:
{
proto_tree_add_item(col_tree, hf_tds_colmetadata_maxbytesize, tvb, cur, 2, ENC_NA|ENC_LITTLE_ENDIAN);
proto_tree_add_item(col_tree, hf_tds_colmetadata_maxbytesize, tvb, cur, 2, ENC_LITTLE_ENDIAN);
cur += 2;
msg_len = tvb_get_guint8(tvb, cur);