git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add macro for MAC address print
[dpdk.git]
/
examples
/
l2fwd-keepalive
/
main.c
diff --git
a/examples/l2fwd-keepalive/main.c
b/examples/l2fwd-keepalive/main.c
index
4e1a17c
..
bc160c6
100644
(file)
--- a/
examples/l2fwd-keepalive/main.c
+++ b/
examples/l2fwd-keepalive/main.c
@@
-730,7
+730,7
@@
main(int argc, char **argv)
rte_strerror(-ret), portid);
printf("Port %u, MAC address: "
-
"%02X:%02X:%02X:%02X:%02X:%02X
\n\n",
+
RTE_ETHER_ADDR_PRT_FMT "
\n\n",
portid,
l2fwd_ports_eth_addr[portid].addr_bytes[0],
l2fwd_ports_eth_addr[portid].addr_bytes[1],