Ignore error when we try to delete an address that's already gone.
authorflorian <florian@openbsd.org>
Thu, 15 Sep 2022 07:59:59 +0000 (07:59 +0000)
committerflorian <florian@openbsd.org>
Thu, 15 Sep 2022 07:59:59 +0000 (07:59 +0000)
commit51e6ed8b7e7efec0d50fadf56450317d04e1bb47
tree7a0c5f328bf5ed19553c6a31ab6f65b22336693e
parentfa590012edcba72d4393a768273b7d6de1543e6c
Ignore error when we try to delete an address that's already gone.

This will happen when an address expires because the vltime drops to
zero. The kernel then deletes the address and slaacd tries to do so,
too. The correct fix is to track in slaacd that the kernel already
deleted the address for us, but that's too much work shortly before a
release so just hide the ugly warning for now, it's harmless.
Problem reported by semarie some time ago.
OK deraadt, benno
sbin/slaacd/slaacd.c