From 24ee40a5cb8925eadbdd612353218694c1d2f96c Mon Sep 17 00:00:00 2001 From: "Lijian.Zhang" Date: Mon, 18 May 2020 20:02:22 +0800 Subject: [PATCH] acl: correct acl vat help message "ipv4"/"ipv6" option is not supported in acl_add_replace and macip_acl_add_replace vat api. Update its help message per actual api usage. Type: fix Change-Id: I8d34fac5f98bd78a46a5e98df05cd35182988dd8 Signed-off-by: Lijian Zhang Reviewed-by: Jieqiang Wang Reviewed-by: Govindarajan Mohandoss --- src/plugins/acl/acl.api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/acl/acl.api b/src/plugins/acl/acl.api index 5d808fdca42..25c231db82a 100644 --- a/src/plugins/acl/acl.api +++ b/src/plugins/acl/acl.api @@ -110,7 +110,7 @@ manual_print manual_endian define acl_add_replace string tag[64]; /* What gets in here gets out in the corresponding tag field when dumping the ACLs. */ u32 count; vl_api_acl_rule_t r[count]; - option vat_help = " [] [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ..."; + option vat_help = " [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ..."; }; /** \brief Reply to add/replace ACL @@ -301,7 +301,7 @@ manual_endian manual_print define macip_acl_add_replace string tag[64]; u32 count; vl_api_macip_acl_rule_t r[count]; - option vat_help = " [] [count ] [src] ip mac mask , ... , ..."; + option vat_help = " [count ] [src] ip mac mask , ... , ..."; }; /** \brief Reply to add/replace MACIP ACL -- 2.16.6