summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-manager.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-17 20:01:58 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-07 23:33:27 +0200
commitfb3aec45a0de7f71aa6418bd4f9d5f314efb4eb5 (patch)
treec3132d478fe8c80ffb8fd334c820d5274eae2b2f /src/network/networkd-manager.h
parentnetwork: restart DHCP server on carrier gain (diff)
downloadsystemd-fb3aec45a0de7f71aa6418bd4f9d5f314efb4eb5.tar.xz
systemd-fb3aec45a0de7f71aa6418bd4f9d5f314efb4eb5.zip
network: make manager_find_uplink() uses stored route information
networkd already has all information about routes. It is not necessary to re-read them by using local_gateways(). This also makes manager_find_uplink() take family.
Diffstat (limited to 'src/network/networkd-manager.h')
-rw-r--r--src/network/networkd-manager.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h
index 6b9b0697b2..c7fea16ab2 100644
--- a/src/network/networkd-manager.h
+++ b/src/network/networkd-manager.h
@@ -111,8 +111,6 @@ bool manager_should_reload(Manager *m);
int manager_enumerate(Manager *m);
-Link* manager_find_uplink(Manager *m, Link *exclude);
-
int manager_set_hostname(Manager *m, const char *hostname);
int manager_set_timezone(Manager *m, const char *timezone);