diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-02-21 13:19:31 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-02-21 13:19:31 -0800 |
commit | 5f583fe81fc8be7f9e516044b43f3f28037242c8 (patch) | |
tree | c2d5376abf09f1fab39cff30216e3c3b59045981 /scripts | |
parent | 5567550604fb7ca092a90c05e90645444ab4c403 (diff) | |
download | vyatta-cfg-system-5f583fe81fc8be7f9e516044b43f3f28037242c8.tar.gz vyatta-cfg-system-5f583fe81fc8be7f9e516044b43f3f28037242c8.zip |
Fix server property option
Bug 7623
Patch provided by Stig.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_update_ntp.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_ntp.pl b/scripts/system/vyatta_update_ntp.pl index 4619b3bc..a162f858 100755 --- a/scripts/system/vyatta_update_ntp.pl +++ b/scripts/system/vyatta_update_ntp.pl @@ -33,7 +33,7 @@ $cfg->setLevel("system ntp"); foreach my $server ($cfg->listNodes("server")) { print "server $server iburst"; for my $property (qw(dynamic noselect preempt prefer)) { - print " $property" if ($cfg->exists("$server $property")); + print " $property" if ($cfg->exists("server $server $property")); } print "\n"; } |