]> git.ipfire.org Git - thirdparty/systemd.git/commit
dhcp4: make IPServiceType configurable
authorSiddharth Chandrasekara <csiddharth@vmware.com>
Mon, 23 Sep 2019 11:25:21 +0000 (04:25 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Sep 2019 02:39:46 +0000 (11:39 +0900)
commitafe42aef39d027a8c74e0f5dd1e496b8de5daa95
treecc647def939c26d3adf3632f336d3a4d8bf8258c
parent55a1729fd095f2e0733247e7b4911cf41bf6b2ed
dhcp4: make IPServiceType configurable

IPServiceType set to CS6 (network control) causes problems on some old
network setups that continue to interpret the field as IP TOS.

Make DHCP work on such networks by allowing this field to be set to
CS4 (Realtime) instead, as this maps to IPTOS_LOWDELAY.

Signed-off-by: Siddharth Chandrasekaran <csiddharth@vmware.com>
15 files changed:
man/systemd.network.xml
src/libsystemd-network/dhcp-internal.h
src/libsystemd-network/dhcp-network.c
src/libsystemd-network/dhcp-packet.c
src/libsystemd-network/sd-dhcp-client.c
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd-network/test-dhcp-client.c
src/network/networkd-conf.c
src/network/networkd-conf.h
src/network/networkd-dhcp4.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h
src/systemd/sd-dhcp-client.h
test/fuzz/fuzz-network-parser/directives.network