aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ncp2222.py
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-09-15 04:04:33 -0700
committerGuy Harris <gharris@sonic.net>2020-09-15 04:04:33 -0700
commit3417380d65dcee9a9b95321b3b33385776fb073c (patch)
treecbec9d91ba0c776921845ad35083e35f623f30df /tools/ncp2222.py
parentc1889e3cd5c455d4915033bfc83c8431e0548c34 (diff)
ncp: fix display of DS_FULL_CLASS_DEFS.
The last item in the reply information is an ACL. Display it as such.
Diffstat (limited to 'tools/ncp2222.py')
-rwxr-xr-xtools/ncp2222.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/ncp2222.py b/tools/ncp2222.py
index d6c9577a59..0c0956e743 100755
--- a/tools/ncp2222.py
+++ b/tools/ncp2222.py
@@ -6493,6 +6493,9 @@ static int hf_hardware_name = -1;
static int hf_no_request_record_found = -1;
static int hf_search_modifier = -1;
static int hf_search_pattern = -1;
+static int hf_nds_acl_protected_attribute = -1;
+static int hf_nds_acl_subject = -1;
+static int hf_nds_acl_privileges = -1;
static expert_field ei_ncp_file_rights_change = EI_INIT;
static expert_field ei_ncp_completion_code = EI_INIT;
@@ -8493,6 +8496,15 @@ proto_register_ncp2222(void)
{ &hf_search_pattern,
{ "Search Pattern", "ncp.search_pattern", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
+ { &hf_nds_acl_protected_attribute,
+ { "Protected Attribute", "ncp.nds_acl_protected_attribute", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
+
+ { &hf_nds_acl_subject,
+ { "Subject", "ncp.nds_acl_subject", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
+
+ { &hf_nds_acl_privileges,
+ { "Subject", "ncp.nds_acl_subject", FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }},
+
""")
# Print the registration code for the hf variables
for var in sorted_vars: