mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 01:40:53 +01:00
dhcp: do not require dhclient to support '-4' option (bgo #679428)
dhclient only supports '-4' option when built with IPv6 support. In all cases it defaults to IPv4 when it is not specified. Inspired by Gentoo.
This commit is contained in:
parent
9e7eceeca5
commit
a52fba46fe
1 changed files with 0 additions and 2 deletions
|
|
@ -489,8 +489,6 @@ dhclient_start (NMDHCPClient *client,
|
|||
g_ptr_array_add (argv, (gpointer) "-6");
|
||||
if (mode_opt)
|
||||
g_ptr_array_add (argv, (gpointer) mode_opt);
|
||||
} else {
|
||||
g_ptr_array_add (argv, (gpointer) "-4");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue