summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network.h
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.h
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.h')
-rw-r--r--src/network/networkd-network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 91553265da..f5258c9fcd 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -202,6 +202,7 @@ struct Network {
char *dhcp_server_relay_agent_remote_id;
NetworkDHCPServerEmitAddress dhcp_server_emit[_SD_DHCP_LEASE_SERVER_TYPE_MAX];
bool dhcp_server_emit_router;
+ struct in_addr dhcp_server_router;
bool dhcp_server_emit_timezone;
char *dhcp_server_timezone;
usec_t dhcp_server_default_lease_time_usec, dhcp_server_max_lease_time_usec;