summaryrefslogtreecommitdiff
path: root/src/network/networkd-conf.h
diff options
context:
space:
mode:
authorSiddharth Chandrasekara <csiddharth@vmware.com>2019-09-23 04:25:21 -0700
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-09-26 11:39:46 +0900
commitafe42aef39d027a8c74e0f5dd1e496b8de5daa95 (patch)
treecc647def939c26d3adf3632f336d3a4d8bf8258c /src/network/networkd-conf.h
parent55a1729fd095f2e0733247e7b4911cf41bf6b2ed (diff)
downloadsystemd-afe42aef39d027a8c74e0f5dd1e496b8de5daa95.tar.gz
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>
Diffstat (limited to 'src/network/networkd-conf.h')
-rw-r--r--src/network/networkd-conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-conf.h b/src/network/networkd-conf.h
index 88a2c64031..a615998f92 100644
--- a/src/network/networkd-conf.h
+++ b/src/network/networkd-conf.h
@@ -15,3 +15,4 @@ const struct ConfigPerfItem* networkd_gperf_lookup(const char *key, GPERF_LEN_TY
CONFIG_PARSER_PROTOTYPE(config_parse_duid_type);
CONFIG_PARSER_PROTOTYPE(config_parse_duid_rawdata);
+CONFIG_PARSER_PROTOTYPE(config_parse_ip_service_type);