diff options
-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"; } |