diff options
author | Richard Schütz <rschuetz@uni-koblenz.de> | 2018-04-12 15:19:20 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-04-17 11:03:04 +0200 |
commit | 9326902cf145f3795a00b68b84e7e32a113e222d (patch) | |
tree | b36c589dd7eea9b0ed7dcfe0f51a0d25c94b9cfc | |
parent | d0563f0733ed293d67e9a0f6503e28c3f1c08f1b (diff) | |
download | NetworkManager-9326902cf145f3795a00b68b84e7e32a113e222d.tar.gz |
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
-rw-r--r-- | src/dhcp/nm-dhcp-systemd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dhcp/nm-dhcp-systemd.c b/src/dhcp/nm-dhcp-systemd.c index fc8229f3ec..4f37f0690b 100644 --- a/src/dhcp/nm-dhcp-systemd.c +++ b/src/dhcp/nm-dhcp-systemd.c @@ -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) |