aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/acl.api
diff options
context:
space:
mode:
authorJieqiang Wang <jieqiang.wang@arm.com>2019-10-28 19:14:06 +0800
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-31 02:17:22 +0000
commitb5076cbe1dbb5eddf33bf0e3443a0122d55d7495 (patch)
tree0c9fbac4bdd92c6a2abebc81c1f60f1fc80db2bc /src/plugins/acl/acl.api
parent46ec6e018e95a10d46d018dbc15d90c309b5dccc (diff)
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 <Jieqiang.Wang@arm.com>
Diffstat (limited to 'src/plugins/acl/acl.api')
-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 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 = "<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> [<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], ... , ...";
};
/** \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 = "<acl-idx> [<ipv4|ipv6> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
+ option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
};
/** \brief Reply to add/replace MACIP ACL