middleware
middleware copied to clipboard
NAS-128634 / 24.10 / Show IPv6 autoconf default, also reflect preference with sysctl
When creating a network interface, the system automatically configures IPv6 despite the default setting being False. In the UI, this creates an issue where the "Autoconfigure IPv6" checkbox is unchecked but the value under /proc/sys/net/ipv6/conf/[interface]/autoconf is 1.
This is also true of DHCP, but was fixed in the UI by setting the value to True specifically if we haven't created/configured the interface yet. I applied the same fix to ipv6_auto. I've also made it set the proper /proc/.../autoconf value when an existing interface is updated so the user's settings are respected.
Jira URL: https://ixsystems.atlassian.net/browse/NAS-128634