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
This commit is contained in:
Stephen Fisher 2011-09-13 16:14:28 +00:00
parent 8159506ae9
commit abdd48d5e3
1 changed files with 1 additions and 1 deletions

View File

@ -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: