arping: coverity woe on COPY_PASTE_ERROR
coverity is trying to outsmart human by guessing on COPY_PASTE_ERROR.
Have it your way.
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I0239c9745e21384aebbaf9e977962746b81ded58
diff --git a/src/plugins/arping/arping.c b/src/plugins/arping/arping.c
index 6c5836b..14f9258 100644
--- a/src/plugins/arping/arping.c
+++ b/src/plugins/arping/arping.c
@@ -178,7 +178,7 @@
aif1->recv.from4.ip4.as_u32 =
arp1->ip4_over_ethernet[0].ip4.as_u32;
clib_memcpy_fast (&aif1->recv.from4.mac,
- &arp0->ip4_over_ethernet[0].mac, 6);
+ &arp1->ip4_over_ethernet[0].mac, 6);
aif1->reply_count++;
}
}