ip-neighbor: Allow to replace dynamic entry 50/27950/4
authorVladimir Isaev <visaev@netgate.com>
Thu, 16 Jul 2020 14:05:18 +0000 (17:05 +0300)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 31 Jul 2020 16:02:49 +0000 (16:02 +0000)
commitb2f44bd8e7d226d851d4d05981914e642a4da571
treed9e1c242be1860237ce5d2c10f9d53c99085df9f
parent5d27037d165ce55dd80aa472a367923d6a08f755
ip-neighbor: Allow to replace dynamic entry

Before this patch it was not allowed to replace
a dynamic ARP entry with a static one with the
same mac-address.

Type: fix

Signed-off-by: Vladimir Isaev <visaev@netgate.com>
Change-Id: I6cfc0e510ffdf141c61874288f11a60395182374
src/vnet/ip-neighbor/ip_neighbor.c
test/test_neighbor.py