Set broadcast when sending DHCPREQUEST and DHCPDISCOVER
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Thu, 19 Jul 2018 00:13:54 +0000 (01:13 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Jul 2018 00:13:54 +0000 (01:13 +0100)
commitb30b0297b5d6d000c1b531ca1306824aa858e0d4
tree552209f5b192da5275a3bb484990d8276a699905
parent5629d458f5f9a3f332e5bfb1d93e3c889edbf83f
Set broadcast when sending DHCPREQUEST and DHCPDISCOVER

We need to do this, since our devices are probably not configured yet and
there may be more than one device we're trying to do DHCP on on the same
network. Otherwise, things might be dropped.

Patch is originally from here:
https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1327412/comments/5
... but the reporter "patpat" has not provided contact information, and
this is independently verifiable by looking at RFC 2131, section 4.1,
page 24.

Gbp-Pq: Name broadcast_dhcp_send.patch
usr/kinit/ipconfig/dhcp_proto.c