From 57938f63cc6743193c76d4fa89ad3250a5f76b56 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Fri, 27 Oct 2017 21:28:07 +0200 Subject: l2fib: MAC: Fix uint64 to u8 byte array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/vnet/l2/l2.api | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vnet/l2/l2.api') 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; -- cgit 1.2.3-korg