FALSE, not TRUE, means big-endian in a "proto_tree_add_item()" call.
svn path=/trunk/; revision=12023
This commit is contained in:
parent
b3360018b5
commit
8ef40be614
|
@ -393,7 +393,7 @@ epm_dissect_tower_data (tvbuff_t *tvb, int offset,
|
|||
break;
|
||||
|
||||
case PROTO_ID_IP: /* this one is always big endian */
|
||||
proto_tree_add_item(tr, hf_epm_proto_ip, tvb, offset, 4, TRUE);
|
||||
proto_tree_add_item(tr, hf_epm_proto_ip, tvb, offset, 4, FALSE);
|
||||
proto_item_append_text(tr, "IP:%s", ip_to_str(tvb_get_ptr(tvb, offset, 4)));
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue