summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-27 20:52:07 +0100
committerTom Gundersen <teg@jklm.no>2014-01-30 14:30:39 +0100
commiteb27aeca247a4cf8816fffc4c0dbcab55ead3864 (patch)
tree4c27a114379b0874f229db32aad3df9138f41164 /src/network/networkd.h
parente7fb33ffefcdc68ad096eea7444da877b68390e8 (diff)
networkd: dhcpv4 - add notion of 'CriticalConnection'
These connections are never torn down, even when the DHCP specifications say that they should be. This is useful/necessary when the rootfs (or another critical fs) is mounted over this network connection, and dataloss would result if the connection is lost. This option defaults to off, but our initrd generator (TBD) will enable it when applicable.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 22dcbd0987..968edf6a70 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -103,6 +103,7 @@ struct Network {
bool dhcp_mtu;
bool dhcp_hostname;
bool dhcp_domainname;
+ bool dhcp_critical;
LIST_HEAD(Address, static_addresses);
LIST_HEAD(Route, static_routes);