diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-05-31 18:31:27 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-05-31 18:31:27 +0000 |
commit | bc200f879cb086aabed6350bd36a73b1f4b89b50 (patch) | |
tree | 68805c692630f098edf3cedd14fdf38576c99448 | |
parent | 06c1482f6cc8240bde944966d115721e16f56b43 (diff) |
better dissect ProtSeqs values
svn path=/trunk/; revision=14508
-rw-r--r-- | epan/dissectors/packet-dcom-remact.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcom-remact.c b/epan/dissectors/packet-dcom-remact.c index 89dd9bd192..89fc9300f1 100644 --- a/epan/dissectors/packet-dcom-remact.c +++ b/epan/dissectors/packet-dcom-remact.c @@ -55,6 +55,19 @@ static int hf_remact_oxid_bindings = -1; static int hf_remact_ipid = -1; static int hf_remact_authn_hint = -1; +static const value_string dcom_protseq_vals[] = { + { 0x04, "NCACN_DNET_NSP" }, + { 0x07, "NCACN_IP_TCP" }, + { 0x08, "NCADG_IP_UDP" }, + { 0x09, "NCACN_IP" }, + { 0x0C, "NCACN_SPX" }, + { 0x0D, "NCACN_NB_IPX" }, + { 0x0E, "NCADG_IPX" }, + { 0x12, "NCACN_NB_NB" }, + { 0x1F, "NCACN_HTTP" }, + { 0, NULL } +}; + static int proto_remact = -1; static gint ett_remact = -1; @@ -229,7 +242,7 @@ proto_register_remact (void) { &hf_remact_requested_protseqs, { "RequestedProtSeqs", "remact_req_prot_seqs", FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_remact_protseqs, - { "ProtSeqs", "remact_prot_seqs", FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL }}, + { "ProtSeqs", "remact_prot_seqs", FT_UINT16, BASE_DEC, VALS(dcom_protseq_vals), 0x0, "", HFILL }}, { &hf_remact_interfaces, { "Interfaces", "remact_interfaces", FT_UINT32, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_remact_mode, |