diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-03-18 09:00:45 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-03-18 11:17:00 +0000 |
commit | 411053387539cd96845122c881232099b9367c6c (patch) | |
tree | 3f0cbae7934e25b60b3fd45af3dbbbe8dbad62ed /epan/dissectors/packet-openflow_v6.c | |
parent | 00416093de31c59eca64fffdc130c372787851bb (diff) |
openflow_v6: fix field print.
Change-Id: I7b838a16eca298a1e6501a302a85a3411758002a
Reviewed-on: https://code.wireshark.org/review/32445
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-openflow_v6.c')
-rw-r--r-- | epan/dissectors/packet-openflow_v6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-openflow_v6.c b/epan/dissectors/packet-openflow_v6.c index 70e84b081a..6bbb5c9ef6 100644 --- a/epan/dissectors/packet-openflow_v6.c +++ b/epan/dissectors/packet-openflow_v6.c @@ -1276,7 +1276,7 @@ static const value_string openflow_v6_header_type_namespace_values[] = { typedef struct oxm_header { guint32 oxm_class; - guint32 oxm_hm; + gboolean oxm_hm; guint32 oxm_field; guint32 oxm_length; } oxm_header; @@ -1284,7 +1284,7 @@ static int dissect_openflow_oxm_header_v6(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint16 length _U_, oxm_header *retval) { guint32 oxm_class; - guint32 oxm_hm; + gboolean oxm_hm; guint32 oxm_field; guint32 oxm_length; @@ -1306,7 +1306,7 @@ dissect_openflow_oxm_header_v6(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree } /* oxm_hm */ - proto_tree_add_item_ret_uint(tree, hf_openflow_v6_oxm_hm, tvb, offset, 1, ENC_BIG_ENDIAN, &oxm_hm); + proto_tree_add_item_ret_boolean(tree, hf_openflow_v6_oxm_hm, tvb, offset, 1, ENC_BIG_ENDIAN, &oxm_hm); offset+=1; /* oxm_length */ |