ip-neighbor: Fix aging timeout 39/25239/6
authorVladimir Isaev <visaev@netgate.com>
Tue, 18 Feb 2020 12:26:12 +0000 (15:26 +0300)
committerNeale Ranns <nranns@cisco.com>
Thu, 20 Feb 2020 09:12:52 +0000 (09:12 +0000)
commit1284f8c71da8ec35cba04351cf62cba7bdd7f847
tree54cd46d45e4503c030737871431a35c60e1164e8
parentf145c15631ba62e798395499f83a2f8a91ae83c7
ip-neighbor: Fix aging timeout

Before this patch VPP checked age for ARP/NDP records every 1e5 seconds
for any configured aging time. This is 27 hours and it looks like
misprint because 1e5 is the number of 10us ticks in a second.

Also time to wait is now difference between aging time and time alive
for nodes in alive state.

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