Merge nd6_option_init() into nd6_options()
authorkn <kn@openbsd.org>
Sat, 10 Dec 2022 21:26:21 +0000 (21:26 +0000)
committerkn <kn@openbsd.org>
Sat, 10 Dec 2022 21:26:21 +0000 (21:26 +0000)
commit2a46a9b4136402a0bc7a7ea1ad1a48ceb17c5f38
tree3ff524798f0269a0058114fb4b17fe99aa542a73
parent97b909b357032a8ef8fbf06bc0516d33b1de443e
Merge nd6_option_init() into nd6_options()

All call-sites call nd6_options() directly after nd6_option_init().
Fold them to simplify the logic and do less pointing around.

Feedback OK bluhm florian
sys/netinet6/icmp6.c
sys/netinet6/nd6.c
sys/netinet6/nd6.h
sys/netinet6/nd6_nbr.c
sys/netinet6/nd6_rtr.c