Reduce if_indextoname(3) usage.
authorflorian <florian@openbsd.org>
Sat, 13 Jul 2024 16:06:34 +0000 (16:06 +0000)
committerflorian <florian@openbsd.org>
Sat, 13 Jul 2024 16:06:34 +0000 (16:06 +0000)
commitcf6341ec3c6950b48df5b118db3dda95bf63e2ab
tree643a7ebb79934a80a2d296b4b7f5d743570c1a0a
parenta903e442c8e9b9551ad1b31d686153eeba59c0c0
Reduce if_indextoname(3) usage.

Don't ask the kernel to translate an if_index to a name if we are not
running with verbose logging, it's not free.
sbin/slaacd/engine.c