Merges rt31573.
number of false positives when UDP checksum offloading is enabled.
[ISC-bugs #41757]
+- Replaced ifconfig parameters "add" and "delete" with "alias" and "-alias"
+ for IPv6 mode in the client scripts, netbsd and openbsd. This was
+ preventing IPv6 addresses from being added or removed from interfaces.
+ [ISC-bugs #31573]
+
Changes since 4.1-ESV-R14b1
- None
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 add ${new_ip6_address}/${new_ip6_prefixlen}
+ ifconfig ${interface} inet6 alias ${new_ip6_address}/${new_ip6_prefixlen}
# Check for nameserver options.
make_resolv_conf
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 delete ${old_ip6_address}/${old_ip6_prefixlen}
+ ifconfig ${interface} inet6 -alias ${old_ip6_address}/${old_ip6_prefixlen}
exit_with_hooks 0
fi
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 add ${new_ip6_address}/${new_ip6_prefixlen}
+ ifconfig ${interface} inet6 alias ${new_ip6_address}/${new_ip6_prefixlen}
# Check for nameserver options.
make_resolv_conf
exit_with_hooks 2;
fi
- ifconfig ${interface} inet6 delete ${old_ip6_address}/${old_ip6_prefixlen}
+ ifconfig ${interface} inet6 -alias ${old_ip6_address}/${old_ip6_prefixlen}
exit_with_hooks 0
fi