The stack-specific network configuration sub-steps called by the netconfig step, netconfig_ipv4 and netconfig_ipv6, may fail to save or apply configuration in different cases. This change tries to be more complete and consistent while tracking and reporting such errors.
This addresses #211617 while the second patch addresses #212396.
Sponsored by: The FreeBSD Foundation