From 6391aa7d5272dcca1bd18fff8bd7ccd31a9eb197 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 7 Oct 2008 16:37:22 +0000 Subject: [PATCH] fix syntax error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 48c7ca2cd..bbef28a63 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -335,7 +335,8 @@ if ($inet6support) { foreach my $pkey (keys %packets) { ($sport,$client) = sockaddr_in($packets{$pkey}->[0]); $data=$packets{$pkey}->[1]; - $peerhost=gethostbyaddr($client,AF_INET)."\n"; + $peerhost=gethostbyaddr($client,AF_INET); + $peerhost .="\n"; my $req = eval { XMLin($data, SuppressEmpty=>undef,ForceArray=>1) }; if ($req and $req->{command} and ($req->{command}->[0] eq "findme")) { $req->{'_xcat_clienthost'}=gethostbyaddr($client,AF_INET);