summaryrefslogtreecommitdiff
path: root/src/nm-config.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-05-27 12:10:45 +0200
committerLubomir Rintel <lkundrak@v3.sk>2019-05-28 11:15:56 +0200
commit3b85b9f1a615d3b1dc7d50be04c1f4c498bf5f53 (patch)
tree8b9126cb3f897aa159aad6f34eda9397a5ff856a /src/nm-config.h
parente1b824b871b40d7f033ebd2fcbe80331b0b14e4c (diff)
downloadNetworkManager-lr/next-server.tar.gz
config: also save next-server in the state filelr/next-server
The early boot tooling gets the root-path from our state file due to a better way to do that. However, when booting with NFS root, the root path alone is not sufficient; the server address is communicated via the next-server option. Save that one in the state file as well.
Diffstat (limited to 'src/nm-config.h')
-rw-r--r--src/nm-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-config.h b/src/nm-config.h
index 66f1b69c09..01f85ba79f 100644
--- a/src/nm-config.h
+++ b/src/nm-config.h
@@ -270,6 +270,7 @@ gboolean nm_config_device_state_write (int ifindex,
int nm_owned,
guint32 route_metric_default_aspired,
guint32 route_metric_default_effective,
+ const char *next_server,
const char *root_path);
void nm_config_device_state_prune_unseen (GHashTable *seen_ifindexes);