mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 11:30:15 +01:00
dhcp: don't enforce broadcast flag
Requesting broadcast replies from the DHCP server can be problematic in filtered environments like some wireless networks. Don't override the default of using unicast. This matches the behaviour of the external DHCP clients. https://github.com/NetworkManager/NetworkManager/pull/93
This commit is contained in:
parent
d0563f0733
commit
9326902cf1
1 changed files with 0 additions and 6 deletions
|
|
@ -630,12 +630,6 @@ ip4_start (NMDhcpClient *client, const char *dhcp_anycast_addr, const char *last
|
|||
goto error;
|
||||
}
|
||||
|
||||
r = sd_dhcp_client_set_request_broadcast (priv->client4, true);
|
||||
if (r < 0) {
|
||||
_LOGW ("failed to enable broadcast mode (%d)", r);
|
||||
goto error;
|
||||
}
|
||||
|
||||
dhcp_lease_load (&lease, priv->lease_file);
|
||||
|
||||
if (last_ip4_address)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue