diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2017-10-27 21:28:07 +0200 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-10-31 15:21:28 +0000 |
commit | 57938f63cc6743193c76d4fa89ad3250a5f76b56 (patch) | |
tree | 8588b7dc58dc96c8b8a3f1928985cd1870b96042 /src/vnet/l2/l2.api | |
parent | 756d5f76859cc6495dba16a583580d8e7d02a8e6 (diff) |
l2fib: MAC: Fix uint64 to u8 byte array
As per proposal on the mailing list, this patch fixes
the represntation of MAC address in VPP API calls for
· L2fib_add_del
· L2_fib_table_details
Change-Id: I31e17efd1a6314cded69666e693cb8fc33158d02
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2.api')
-rw-r--r-- | src/vnet/l2/l2.api | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/l2/l2.api b/src/vnet/l2/l2.api index 18383652827..404a47888d8 100644 --- a/src/vnet/l2/l2.api +++ b/src/vnet/l2/l2.api @@ -14,7 +14,7 @@ * limitations under the License. */ -vl_api_version 1.0.0 +vl_api_version 2.0.0 /** \brief Reply to l2_xconnect_dump @param context - sender context which was passed in the request @@ -50,7 +50,7 @@ define l2_fib_table_details { u32 context; u32 bd_id; - u64 mac; + u8 mac[6]; u32 sw_if_index; u8 static_mac; u8 filter_mac; @@ -126,7 +126,7 @@ autoreply define l2fib_add_del { u32 client_index; u32 context; - u64 mac; + u8 mac[6]; u32 bd_id; u32 sw_if_index; u8 is_add; |