summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network-gperf.gperf
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-02 04:58:50 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-02 19:15:00 +0100
commit59aa622013277cfe6349d0789a7a00ad2b884902 (patch)
tree9a1e282f03a54a2b9e027c9c0d6580c1668044e2 /src/network/networkd-network-gperf.gperf
parentMerge pull request #21204 from yuwata/sd-dhcp6-client-cleanups (diff)
downloadsystemd-59aa622013277cfe6349d0789a7a00ad2b884902.tar.xz
systemd-59aa622013277cfe6349d0789a7a00ad2b884902.zip
network: dhcp-server: introduce Router= setting to specify router address
Closes #21202.
Diffstat (limited to 'src/network/networkd-network-gperf.gperf')
-rw-r--r--src/network/networkd-network-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf
index 595dd36121..1f0a625183 100644
--- a/src/network/networkd-network-gperf.gperf
+++ b/src/network/networkd-network-gperf.gperf
@@ -290,6 +290,7 @@ DHCPServer.SMTP, config_parse_dhcp_server_emit,
DHCPServer.EmitLPR, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR].emit)
DHCPServer.LPR, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR])
DHCPServer.EmitRouter, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_router)
+DHCPServer.Router, config_parse_in_addr_non_null, AF_INET, offsetof(Network, dhcp_server_router)
DHCPServer.EmitTimezone, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_timezone)
DHCPServer.Timezone, config_parse_timezone, 0, offsetof(Network, dhcp_server_timezone)
DHCPServer.PoolOffset, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_offset)