debian/*.templates: use sl6 for strings changed by IPv6 patches
Use the sublevel 6 designation for all strings changed by the
IPv6 patch set, as instructed by Christian Perrier. Also add
it to the translatable strings which miss a sublevel designation.
Signed-off-by: Philipp Kern <email address hidden>
dhcp_hostname is a string with a fixed size after refactoring. So the
pointer is always available and instead the length of the string has to
be checked. Otherwise udhcpc will pass a 0 byte hostname option to
the DHCP server which then ignores the request.
Signed-off-by: Philipp Kern <email address hidden>
ipv6.c: force stateless_config to 0 if stateful_config is set also
If stateful_config is set, we need to keep the DHCPv6 client running and
not only retrieve configuration but request addresses too. Hence set
stateless_config to 0 if both managed and other are set in Router
Advertisements. This case is currently underdefined but we want stateful
configuration to happen in any case.
Signed-off-by: Philipp Kern <email address hidden>