summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-02-20 06:36:24 +0100
committerDaniil Baturin <daniil@baturin.org>2018-02-20 06:37:03 +0100
commit3f248ff90ecb28ae15dcf8e8191e79ca7889f69d (patch)
tree051e56c3597c6fa2fb595a16330062a49575796f /scripts/system
parenta3d11e6c039b9c3226325ce01e39f6affa56a46a (diff)
downloadvyatta-cfg-system-3f248ff90ecb28ae15dcf8e8191e79ca7889f69d.tar.gz
vyatta-cfg-system-3f248ff90ecb28ae15dcf8e8191e79ca7889f69d.zip
Rename the "client" NTP option to "allow-clients" to make it more clear what it does (fixes T553).
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_ntp.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system/vyatta_update_ntp.pl b/scripts/system/vyatta_update_ntp.pl
index eaaae14a..78a617bc 100755
--- a/scripts/system/vyatta_update_ntp.pl
+++ b/scripts/system/vyatta_update_ntp.pl
@@ -78,10 +78,10 @@ my @clients;
if ($dhclient_script == 1) {
@servers = $cfg->listOrigNodes("server");
- @clients = $cfg->returnOrigValues("client address");
+ @clients = $cfg->returnOrigValues("allow-clients address");
} else {
@servers = $cfg->listNodes("server");
- @clients = $cfg->returnValues("client address");
+ @clients = $cfg->returnValues("allow-clients address");
}
if (scalar(@servers) > 0) {