Witness: set col_info for interfaceInfo_state
authorGregor Beck <gbeck@sernet.de>
Mon, 29 Jul 2013 07:24:59 +0000 (09:24 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Jan 2014 08:18:28 +0000 (09:18 +0100)
epan/dissectors/packet-dcerpc-witness-cnf.c
epan/dissectors/pidl/witness.cnf

index 4336a065b08562de214d08a3869fc94da5b3af72..ac1671f91814f56ffe6dec0e93b08a23b409cfb6 100644 (file)
@@ -293,3 +293,9 @@ PIDL_dissect_ipv4address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tr
        }
        return offset + 4;
 }
+
+int
+witness_dissect_enum_interfaceInfo_state(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32* param)
+{
+       return PIDL_dissect_uint16(tvb, offset, pinfo, tree, drep, hf_index, PIDL_SET_COL_INFO);
+}
index 406dbc9fad0e805426ee067fcb5a5092096a48ab..bb022b66ae96e6894a9150db582abab3bf3babeb 100644 (file)
@@ -2,9 +2,12 @@ MANUAL witness_dissect_element_interfaceInfo_group_name
 MANUAL witness_dissect_element_interfaceInfo_group_name_
 MANUAL witness_dissect_struct_notifyResponse
 MANUAL witness_dissect_element_notifyResponse_message_buffer_
+MANUAL witness_dissect_enum_interfaceInfo_state
 
 TYPE ipv4address "offset=PIDL_dissect_ipv4address(tvb, offset, pinfo, tree, drep, @HF@, PIDL_SET_COL_INFO);" FT_IPv4 BASE_NONE 0 NULL 4
 
+#PARAM_VALUE witness_dissect_element_interfaceInfo_state PIDL_SET_COL_INFO
+
 TYPE ipv6address "offset += 16;" FT_BYTES BASE_NONE 0 NULL 2
 HF_RENAME hf_witness_witness_interfaceInfo_group_name hf_dummy
 HF_FIELD hf_witness_witness_interfaceInfo_group_name "Group Name" "witness.witness_interfaceInfo.group_name" FT_STRING BASE_NONE NULL 0 "" "" ""