Rewrite iproute2 addr argument parsing.
Rewrite iproute2 addr argument parsing.

This was originally to fix the fact that our code did not handle certain
orders of arguments in conversion, but it was easier to rewrite the
entire argument handling to support more options at the same time.

Now supports all options documented in the ip manpage, including the
IPv6-specific options that must be passed after the interface argument.

Signed-off-by: Robin H. Johnson <aa3b04a87f185a8b919ce94fe21b810489ffb8d4@gentoo.org>
Reported-by: Tony Vroon <d468d4464440a7f9c7349613cdbb5bae25673d20@gentoo.org>
X-Gentoo-Bug: 366905
X-Gentoo-Bug-URL: https://bugs.gentoo.org/366905

dwfreed/openrc,williamh/openrc,williamh/openrc,OpenRC/openrc,dwfreed/openrc,dwfreed/openrc,OpenRC/openrc,OpenRC/openrc,williamh/openrc