Set broadcast when sending DHCPREQUEST and DHCPDISCOVER
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Sat, 30 Dec 2017 22:09:36 +0000 (22:09 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Dec 2017 22:09:36 +0000 (22:09 +0000)
commitc06864d2ed84866aad61e868f6ffc2391adddc32
treeb9427b11c5105c1ae9b39451b9dfd965c20412bf
parent2525842fb070120f26acf45ba855a5031f572255
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