summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:21:18 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-17 14:30:20 -0700
commitf3f0890080a34e116dedd85886f54910121838ae (patch)
tree89394554384169f7eb10ac0216c1d0c7216b5781 /scripts/system
parenta0e00c69745c9915d879a3c812f339345fa9e7b3 (diff)
downloadvyatta-cfg-system-f3f0890080a34e116dedd85886f54910121838ae.tar.gz
vyatta-cfg-system-f3f0890080a34e116dedd85886f54910121838ae.zip
Fix generation of syslog host targets
Bug 4494 (cherry picked from commit 7dc1c900184a629975b2e22e79c5dc44c494448e)
Diffstat (limited to 'scripts/system')
-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') ) {