summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl
diff options
context:
space:
mode:
authorLijian.Zhang <Lijian.Zhang@arm.com>2020-05-18 20:02:22 +0800
committerMatthew Smith <mgsmith@netgate.com>2020-07-23 20:52:41 +0000
commit24ee40a5cb8925eadbdd612353218694c1d2f96c (patch)
treec04dd1464b1c1c4386b2830d7ce0d439f9104161 /src/plugins/acl
parentc703a0b9ade88e0e2622b50f650bc4607307afbd (diff)
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 <Lijian.Zhang@arm.com> Reviewed-by: Jieqiang Wang <Jieqiang.Wang@arm.com> Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com>
Diffstat (limited to 'src/plugins/acl')
-rw-r--r--src/plugins/acl/acl.api4
1 files 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 = "<acl-idx> [<ipv4|ipv6>] <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
+ option vat_help = "<acl-idx> <permit|permit+reflect|deny|action N> [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 = "<acl-idx> [<ipv4|ipv6>] <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
+ option vat_help = "<acl-idx> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
};
/** \brief Reply to add/replace MACIP ACL