netlogon_dissect_NETLOGON_SECURE_CHANNEL_TYPE dissect_ndr_uint1632 enum
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Feb 2022 21:03:25 +0000 (22:03 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Nov 2022 10:32:43 +0000 (11:32 +0100)
epan/dissectors/packet-dcerpc-netlogon.c

index 91e474157ca1648510e5cd9a53a6b7d974454a8a..614c3cc36475d983960839bbbaac125701e92a0b 100644 (file)
@@ -2753,8 +2753,8 @@ netlogon_dissect_NETLOGON_SECURE_CHANNEL_TYPE(tvbuff_t *tvb, int offset,
                                               packet_info *pinfo, proto_tree *tree,
                                               dcerpc_info *di, guint8 *drep)
 {
-    offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, di, drep,
-                                hf_netlogon_secure_channel_type, NULL);
+    offset = dissect_ndr_uint1632(tvb, offset, pinfo, tree, di, drep,
+                                  hf_netlogon_secure_channel_type, NULL);
 
     return offset;
 }