diff options
author | 2016-07-01 03:49:53 +0200 | |
---|---|---|
committer | 2016-07-07 19:30:08 +0000 | |
commit | 689acafcabbc229a89cdbe5e628ca5e7a573afb2 (patch) | |
tree | 7a9516ebd6417b85175f03b63efdac77af957bcd /vpp/vpp-api/api.c | |
parent | 0d2a8e789711f8936e627259d42d5a8eb5693f6f (diff) |
VPP-148 added bvi_mac flag to l2fib_add_del api call similarly to cli
Change-Id: I3b65e85d24ed37b6889af7e194fee45ec61b15a8
Signed-off-by: marek zavodsky <mazavods@gmail.com>
Diffstat (limited to 'vpp/vpp-api/api.c')
-rw-r--r-- | vpp/vpp-api/api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index 767b9d5d..6041b11e 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -1652,6 +1652,7 @@ vl_api_l2fib_add_del_t_handler ( u32 bd_index; u32 static_mac; u32 filter_mac; + u32 bvi_mac; uword * p; mac = mp->mac; @@ -1678,8 +1679,9 @@ vl_api_l2fib_add_del_t_handler ( } static_mac = mp->static_mac ? 1 : 0; filter_mac = mp->filter_mac ? 1 : 0; + bvi_mac = mp->bvi_mac ? 1 : 0; l2fib_add_entry(mac, bd_index, sw_if_index, static_mac, filter_mac, - 0 /* bvi_mac */); + bvi_mac); } else { l2fib_del_entry(mac, bd_index); } |