chiark / gitweb /
sd-dhcp-client: allways request broadcast
authorCamilo Aguilar <camilo.aguilar@gmail.com>
Wed, 28 May 2014 18:43:37 +0000 (14:43 -0400)
committerTom Gundersen <teg@jklm.no>
Tue, 3 Jun 2014 08:55:46 +0000 (10:55 +0200)
commit63a070415db09f5b5bcc5c487bfc85dabe443dde
tree40a0d539896f35bda5a8ea9a945cce457c7ef361
parent682265d5e2157882861b0091c6b81fa92699b72a
sd-dhcp-client: allways request broadcast

On systems which cannot receive unicast packets until its IP stack has been configured
we need to request broadcast packets. We are currently not able to reliably detect when
this is necessary, so set it unconditionally for now.

This is set on all packets, but the DHCP server will only broadcast the packets that are
necessary, and unicast the rest.

For more information please refer to this thread in CoreOS: https://github.com/coreos/bugs/issues/12

[tomegun: rephrased commit message]
src/libsystemd-network/sd-dhcp-client.c