ARP learning fixes (VPP-843) 39/6739/2
authorNeale Ranns <[email protected]>
Tue, 16 May 2017 15:46:45 +0000 (08:46 -0700)
committerDamjan Marion <[email protected]>
Wed, 17 May 2017 12:02:04 +0000 (12:02 +0000)
commit1985c93bd728db22c946e05691f21a2f9774e458
tree036b987e37ae4d4b0e1c447befe43124bcc1e4c9
parent1da79ed89942dd27ea1d7c74311b91d02624722d
ARP learning fixes (VPP-843)

learn ARP peers if, 1) it's a reply to a local address, 2) we are sending a response to a request.
send proxy ARP responses only in the interface the request was sent.

Change-Id: I22b949c65122824233076492b7dd537daca07bc2
Signed-off-by: Neale Ranns <[email protected]>
(cherry picked from commit d5b6aa139856a1447f7bc5377058202110eaa4cf)
src/vnet/ethernet/arp.c
src/vnet/ip/ip6_neighbor.c
src/vnet/ip/lookup.h
test/test_neighbor.py