From b5076cbe1dbb5eddf33bf0e3443a0122d55d7495 Mon Sep 17 00:00:00 2001 From: Jieqiang Wang Date: Mon, 28 Oct 2019 19:14:06 +0800 Subject: [PATCH] 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 --- 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 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 -- 2.16.6