diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-16 19:44:22 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-16 19:48:25 +0200 |
commit | 2dcf7ec6ec0c28297311108acba119cd6e055e64 (patch) | |
tree | 1af3869990bd995f5826e7387887bfc73d54fd5e /src/network/networkd.h | |
parent | d4920165fe753751aaa274fdc568927d26284eea (diff) |
networkd: manager - read fallback DNS servers from config file
We will still use the compiled-in defaults if no DNS entry exists in the config file.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index ebb3075534..eaaf2593f9 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -282,6 +282,12 @@ int manager_save(Manager *m); DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free); #define _cleanup_manager_free_ _cleanup_(manager_freep) +const struct ConfigPerfItem* networkd_gperf_lookup(const char *key, unsigned length); + +int config_parse_dnsv(const char *unit, const char *filename, unsigned line, + const char *section, unsigned section_line, const char *lvalue, + int ltype, const char *rvalue, void *data, void *userdata); + /* NetDev */ int netdev_load(Manager *manager); |