chiark / gitweb /
sd-dhcp-client: make request broadcasts opt-in
authorTom Gundersen <teg@jklm.no>
Tue, 15 Jul 2014 16:55:31 +0000 (18:55 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 15 Jul 2014 16:55:31 +0000 (18:55 +0200)
commitf5de5b00204f041aaec828d336c8afd9e860a5c3
treead159454a17556b8f3ac953e8a0428c493f36b4e
parent30632d97d9d68c8202e562f34afae8f8d6e9c377
sd-dhcp-client: make request broadcasts opt-in

It appears there is no good way to decide whether or not broadcasts should be enabled,
there is hardware that must have broadcast, and there are networks that only allow
unicast. So we give up and make this configurable.

By default, unicast is used, but if the kernel were to inform us abotu certain
interfaces requiring broadcast, we could change this to opt-in by default in
those cases.
man/systemd.network.xml
src/libsystemd-network/sd-dhcp-client.c
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd.h
src/systemd/sd-dhcp-client.h