aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r--epan/dissectors/packet-bootp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index 70c44b8b93..85916b3c87 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -1919,9 +1919,9 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
if (id_type == 0x01) {
proto_tree_add_item(v_tree, hf_bootp_option_client_network_id_major_ver,
- tvb, optoff + 1, 1, TRUE);
+ tvb, optoff + 1, 1, ENC_LITTLE_ENDIAN);
proto_tree_add_item(v_tree, hf_bootp_option_client_network_id_minor_ver,
- tvb, optoff + 2, 1, TRUE);
+ tvb, optoff + 2, 1, ENC_LITTLE_ENDIAN);
}
break;