summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);