mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 20:45:32 +00:00
dhcp: dhclient: remove fqdn.encoded for dhclient -6 conf
The option fqdn.encoded doesn't exist in DHCPv6, it's a DHCPv4 flag only.
This commit is contained in:
parent
d68f84073b
commit
fdf967592b
|
@ -174,7 +174,6 @@ add_hostname6 (GString *str, const char *hostname)
|
|||
if (hostname && strchr (hostname, '.')) {
|
||||
g_string_append_printf (str, FQDN_FORMAT "\n", hostname);
|
||||
g_string_append (str,
|
||||
"send fqdn.encoded on;\n"
|
||||
"send fqdn.server-update on;\n");
|
||||
g_string_append_c (str, '\n');
|
||||
}
|
||||
|
|
|
@ -417,7 +417,6 @@ static const char *override_hostname6_expected = \
|
|||
"# Merged from /path/to/dhclient.conf\n"
|
||||
"\n"
|
||||
"send fqdn.fqdn \"blahblah.local\"; # added by NetworkManager\n"
|
||||
"send fqdn.encoded on;\n"
|
||||
"send fqdn.server-update on;\n"
|
||||
"\n"
|
||||
"also request dhcp6.name-servers;\n"
|
||||
|
|
Loading…
Reference in a new issue