diff options
| author | 2018-07-20 13:17:02 +0000 | |
|---|---|---|
| committer | 2018-07-20 13:17:02 +0000 | |
| commit | 8fe22fd3f8ccf879dba89a1072bf793af2cc2128 (patch) | |
| tree | 5f42809d0d686273b8e609c824bf2f7435614a0a /usr.sbin/rad/printconf.c | |
| parent | Print the timestamp embedded in mrt files for update and status messages. (diff) | |
| download | wireguard-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.c | 4 |
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, |
