diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-11-13 15:20:46 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-02-08 10:45:21 +0000 |
commit | 833a825c7c57286f6722e5688f279669bab6c25f (patch) | |
tree | d257cae7719b2167f7de02b57d0e95dd413f88bb /epan/dissectors/packet-dcerpc-netlogon.c | |
parent | 0fd55dbf54da66330eeaabee57cb8fdd11ed41c3 (diff) |
packet-dcerpc-netlogon: use SEC_CHAN_* values from packet-dcerpc-misc
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-netlogon.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c index 4bc958725f..d9db651f1d 100644 --- a/epan/dissectors/packet-dcerpc-netlogon.c +++ b/epan/dissectors/packet-dcerpc-netlogon.c @@ -26,6 +26,7 @@ #include "packet-windows-common.h" #include "packet-dcerpc-lsa.h" #include "packet-ntlmssp.h" +#include "packet-dcerpc-misc.h" /* for keytab format */ #include <epan/asn1.h> #include "packet-kerberos.h" @@ -8256,15 +8257,6 @@ dissect_response_secchan_verf(tvbuff_t *tvb, int offset, packet_info *pinfo , return dissect_secchan_verf(tvb,offset,pinfo,tree,drep,1); } -/* Secure channel types */ - -static const value_string sec_chan_type_vals[] = { - { SEC_CHAN_WKSTA, "Workstation" }, - { SEC_CHAN_DOMAIN, "Domain trust" }, - { SEC_CHAN_BDC, "Backup domain controller" }, - { 0, NULL } -}; - void proto_register_dcerpc_netlogon(void) { @@ -8818,7 +8810,7 @@ proto_register_dcerpc_netlogon(void) { &hf_netlogon_secure_channel_type, { "Sec Chan Type", "netlogon.sec_chan_type", FT_UINT16, BASE_DEC, - VALS(sec_chan_type_vals), 0x0, "Secure Channel Type", HFILL }}, + VALS(misc_netr_SchannelType_vals), 0x0, "Secure Channel Type", HFILL }}, { &hf_netlogon_restart_state, { "Restart State", "netlogon.restart_state", FT_UINT16, BASE_DEC, |