summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/api_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api-test/vat/api_format.c')
-rw-r--r--vpp-api-test/vat/api_format.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index fea24684c6a..6b5271dd039 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -3905,6 +3905,7 @@ static int api_l2fib_add_del (vat_main_t * vam)
u8 is_add = 1;
u8 static_mac = 0;
u8 filter_mac = 0;
+ u8 bvi_mac = 0;
/* Parse args required to build the message */
while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) {
@@ -3925,6 +3926,9 @@ static int api_l2fib_add_del (vat_main_t * vam)
else if (unformat (i, "filter")) {
filter_mac = 1;
static_mac = 1;
+ } else if (unformat (i, "bvi")) {
+ bvi_mac = 1;
+ static_mac = 1;
} else if (unformat (i, "del"))
is_add = 0;
else
@@ -3956,6 +3960,7 @@ static int api_l2fib_add_del (vat_main_t * vam)
mp->sw_if_index = ntohl(sw_if_index);
mp->static_mac = static_mac;
mp->filter_mac = filter_mac;
+ mp->bvi_mac = bvi_mac;
}
S; W;