Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use IP and MAC API types for neighbors
[vpp.git]
/
src
/
plugins
/
mactime
/
mactime.c
diff --git
a/src/plugins/mactime/mactime.c
b/src/plugins/mactime/mactime.c
index
837b317
..
572b913
100644
(file)
--- a/
src/plugins/mactime/mactime.c
+++ b/
src/plugins/mactime/mactime.c
@@
-553,8
+553,7
@@
show_mactime_command_fn (vlib_main_t * vm,
for (j = 0; j < vec_len (mm->arp_cache_copy); j++)
{
n = mm->arp_cache_copy + j;
for (j = 0; j < vec_len (mm->arp_cache_copy); j++)
{
n = mm->arp_cache_copy + j;
- if (!memcmp (dp->mac_address, n->ethernet_address,
- sizeof (n->ethernet_address)))
+ if (!memcmp (dp->mac_address, n->mac.bytes, sizeof (n->mac)))
{
vlib_cli_output (vm, "%17s%U", " ", format_ip4_address,
&n->ip4_address);
{
vlib_cli_output (vm, "%17s%U", " ", format_ip4_address,
&n->ip4_address);