From: Jieqiang Wang Date: Mon, 28 Oct 2019 11:14:06 +0000 (+0800) Subject: acl: add missing square brackets to vat_help option in acl api X-Git-Tag: v20.05-rc0~485 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b5076cbe1dbb5eddf33bf0e3443a0122d55d7495;p=vpp.git acl: add missing square brackets to vat_help option in acl api Add the missing right square brackets to remove ambiguity in vat_help option for acl_add_replace and macip_acl_add_replace api. Type: fix Change-Id: I2679d8ce163d23a0e513afdfdb87434cbb673c74 Signed-off-by: Jieqiang.Wang --- diff --git a/src/plugins/acl/acl.api b/src/plugins/acl/acl.api index eb0594650d0..2dedea62123 100644 --- a/src/plugins/acl/acl.api +++ b/src/plugins/acl/acl.api @@ -109,7 +109,7 @@ manual_print manual_endian define acl_add_replace u8 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 @@ -300,7 +300,7 @@ manual_endian manual_print define macip_acl_add_replace u8 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