diff options
author | Tom Gundersen <teg@jklm.no> | 2015-02-01 21:04:35 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-02 11:57:52 +0100 |
commit | e56cdb7ae2657d62c9a8b6d3427382b209dff8e7 (patch) | |
tree | c7631551cffc36f5892c47aafee10299c192f129 /src/network/networkd-wait-online.h | |
parent | c4f1aff2306e4fb10efeda75f7015e5d043d4e8d (diff) |
networkd-wait-online: add timeout
Default to timing out after 120 seconds without a network connection. Setting a
timeout of 0 disables the timeout.
Diffstat (limited to 'src/network/networkd-wait-online.h')
-rw-r--r-- | src/network/networkd-wait-online.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-wait-online.h b/src/network/networkd-wait-online.h index eb78647ebd..66b865cfe2 100644 --- a/src/network/networkd-wait-online.h +++ b/src/network/networkd-wait-online.h @@ -49,7 +49,7 @@ struct Manager { }; void manager_free(Manager *m); -int manager_new(Manager **ret, char **interfaces, char **ignore); +int manager_new(Manager **ret, char **interfaces, char **ignore, usec_t timeout); DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free); |