aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2017-10-27 21:28:07 +0200
committerJohn Lo <loj@cisco.com>2017-10-31 15:21:28 +0000
commit57938f63cc6743193c76d4fa89ad3250a5f76b56 (patch)
tree8588b7dc58dc96c8b8a3f1928985cd1870b96042 /src/vpp
parent756d5f76859cc6495dba16a583580d8e7d02a8e6 (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/vpp')
-rw-r--r--src/vpp/api/custom_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 27085d940bb..1152fbb8e0d 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -382,7 +382,7 @@ static void *vl_api_l2fib_add_del_t_print
s = format (0, "SCRIPT: l2fib_add_del ");
- s = format (s, "mac %U ", format_ethernet_address, &mp->mac);
+ s = format (s, "mac %U ", format_ethernet_address, mp->mac);
s = format (s, "bd_id %d ", ntohl (mp->bd_id));