Statically initialise DAD list, remove obsolete dad_init
authorkn <kn@openbsd.org>
Mon, 28 Nov 2022 13:08:53 +0000 (13:08 +0000)
committerkn <kn@openbsd.org>
Mon, 28 Nov 2022 13:08:53 +0000 (13:08 +0000)
commit143c0f7fa903be3144c66fe72f958afeb2d3dbfd
treeadca72ba2edb779807d347642614f7c88d269569
parent6644e3f0af25d5ac9cd7e9055f9cf1bd806ebe4e
Statically initialise DAD list, remove obsolete dad_init

The list of IPv6 addresses to perfom Duplicate Address Detection on is
local to nd6_nbr.c;  statically initialise it so `dad_init' can go.

nd6_dad_find() keeps returning NULL on an initialised but empty list,
so nd6_dad_stop() keeps returning early.

Feedback OK mvs
sys/netinet6/nd6_nbr.c