summaryrefslogtreecommitdiffstats
path: root/src/plugins/arping/arping.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2021-04-02 08:51:17 -0700
committerMatthew Smith <mgsmith@netgate.com>2021-04-05 14:33:30 +0000
commit42c5c207e7e62f82c34103f4207f3da3915732c4 (patch)
treeb15c50a632bbaec857bbf2a97e316875bddd9de7 /src/plugins/arping/arping.c
parent106a2158cd591e5042d01c4b51188fe0c4087f27 (diff)
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
Diffstat (limited to 'src/plugins/arping/arping.c')
-rw-r--r--src/plugins/arping/arping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/arping/arping.c b/src/plugins/arping/arping.c
index 6c5836b9b9b..14f92589ea7 100644
--- a/src/plugins/arping/arping.c
+++ b/src/plugins/arping/arping.c
@@ -178,7 +178,7 @@ VLIB_NODE_FN (arping_input_node)
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++;
}
}