summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:21:18 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:21:18 -0700
commit7dc1c900184a629975b2e22e79c5dc44c494448e (patch)
tree9a5d7d08d14527d0dd811afc14a5e629718933a2 /scripts
parent2168755d014ebd6ecd5b118499f221407be8681b (diff)
downloadvyatta-cfg-system-7dc1c900184a629975b2e22e79c5dc44c494448e.tar.gz
vyatta-cfg-system-7dc1c900184a629975b2e22e79c5dc44c494448e.zip
Fix generation of syslog host targets
Bug 4494
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system/vyatta_update_syslog.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl
index 83fa9576..8047999d 100755
--- a/scripts/system/vyatta_update_syslog.pl
+++ b/scripts/system/vyatta_update_syslog.pl
@@ -77,7 +77,7 @@ unless (%entries) {
read_config( $config, 'console', $CONSOLE );
foreach my $host ( $config->listNodes('host') ) {
- read_config( $config, "host $host", "@$host" );
+ read_config( $config, "host $host", '@'. $host );
}
foreach my $file ( $config->listNodes('file') ) {