diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-09-13 16:14:28 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-09-13 16:14:28 +0000 |
commit | abdd48d5e3371b5997e9fa18d944d718c603d9fa (patch) | |
tree | 487c4bfb8ebf86b7adb06040e7760bea7546cc49 /epan | |
parent | 8159506ae9aa909ae709939af0988b9530b96523 (diff) |
The "Uri-Port" option is an unsigned, not signed, integer according to
its hf definition and deraft-ietf-core-coap-04 for example.
svn path=/trunk/; revision=38986
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-coap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c index 07a461d024..910f2dad82 100644 --- a/epan/dissectors/packet-coap.c +++ b/epan/dissectors/packet-coap.c @@ -312,7 +312,7 @@ dissect_coap_opt_port(tvbuff_t *tvb, packet_info *pinfo, proto_tree *subtree, gi switch (opt_length) { case 0: - item = proto_tree_add_int(subtree, hfindex, tvb, offset, opt_length, pinfo->destport); + item = proto_tree_add_uint(subtree, hfindex, tvb, offset, opt_length, pinfo->destport); proto_item_append_text(item, " (default)"); return; case 1: |