diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-07-18 22:59:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-07-18 22:59:54 +0000 |
commit | 754711b75740996398ddcaa22554fc14e7715874 (patch) | |
tree | 0b8142b927b853e26634696b18ef0b926ba5f85d /epan/dissectors/packet-bittorrent.c | |
parent | 87ad190d492ac3228a51e7428c68fcaedd2618f4 (diff) |
Fix a non-proto_tree_add_item() passing an ENC_ value as the last
argument.
svn path=/trunk/; revision=43798
Diffstat (limited to 'epan/dissectors/packet-bittorrent.c')
-rw-r--r-- | epan/dissectors/packet-bittorrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bittorrent.c b/epan/dissectors/packet-bittorrent.c index f6f89243e0..197f783a51 100644 --- a/epan/dissectors/packet-bittorrent.c +++ b/epan/dissectors/packet-bittorrent.c @@ -700,7 +700,7 @@ dissect_bittorrent_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case BITTORRENT_MESSAGE_PORT: /* port as payload */ - proto_tree_add_uint(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); break; case BITTORRENT_MESSAGE_EXTENDED: |