summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rad/printconf.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2018-07-20 13:17:02 +0000
committerflorian <florian@openbsd.org>2018-07-20 13:17:02 +0000
commit8fe22fd3f8ccf879dba89a1072bf793af2cc2128 (patch)
tree5f42809d0d686273b8e609c824bf2f7435614a0a /usr.sbin/rad/printconf.c
parentPrint the timestamp embedded in mrt files for update and status messages. (diff)
downloadwireguard-openbsd-8fe22fd3f8ccf879dba89a1072bf793af2cc2128.tar.xz
wireguard-openbsd-8fe22fd3f8ccf879dba89a1072bf793af2cc2128.zip
Rename "resolver" to "nameserver" in the configuration file.
resolv.conf(5) and dhclient(8) are using the term nameserver for many years, there is no good reason to be different here. Pointed out by deraadt
Diffstat (limited to 'usr.sbin/rad/printconf.c')
-rw-r--r--usr.sbin/rad/printconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rad/printconf.c b/usr.sbin/rad/printconf.c
index 1fc8cd4ca3f..1614fba0e04 100644
--- a/usr.sbin/rad/printconf.c
+++ b/usr.sbin/rad/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.2 2018/07/15 09:28:21 florian Exp $ */
+/* $OpenBSD: printconf.c,v 1.3 2018/07/20 13:17:02 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -104,7 +104,7 @@ print_config(struct rad_conf *conf)
printf("\tdns {\n");
printf("\t\tlifetime %u\n", iface->rdns_lifetime);
if (!SIMPLEQ_EMPTY(&iface->ra_rdnss_list)) {
- printf("\t\tresolver {\n");
+ printf("\t\tnameserver {\n");
SIMPLEQ_FOREACH(ra_rdnss,
&iface->ra_rdnss_list, entry) {
inet_ntop(AF_INET6, &ra_rdnss->rdnss,