summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-18 17:22:26 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-28 09:41:29 -0400
commitddb7f7fc07a31937989afad53edb87b50e2cad72 (patch)
tree0a431b0c37691dab1ea280c6b49e6f48b5544161 /src/network
parent427c71629ea375e4ca1841a55902b40de21f2ab4 (diff)
networkctl: do not mix dns and ntp servers
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 2a7a1daf0f..d6d2e1dd27 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -484,7 +484,7 @@ static int link_status(char **args, unsigned n) {
if (!strv_isempty(domains))
dump_list(" Domain: ", domains);
- sd_network_get_dns(&ntp);
+ sd_network_get_ntp(&ntp);
if (!strv_isempty(ntp))
dump_list(" NTP: ", ntp);