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:
parent
8159506ae9
commit
abdd48d5e3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue