summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-27 16:45:24 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-27 16:45:24 +0200
commit4f5f911e81ae6377ab925c1dd133013c640ab32e (patch)
treef0da3484c737997027a89945e76c047e7de16846 /src/network/networkd.h
parent1a04db0fc9d08fffe80d6d7b5b60459295922b11 (diff)
networkd: propagate DNS/NTP server from uplink to dhcp server
When handing out DHCP leases, try to propagate DNS/NTP server information from "uplink". The "uplink" is automatically determined as the network interface with the highest priority default route on it.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 7122c1b6f4..eea57ac158 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -85,5 +85,7 @@ int manager_save(Manager *m);
int manager_address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);
+Link* manager_find_uplink(Manager *m, Link *exclude);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
#define _cleanup_manager_free_ _cleanup_(manager_freep)