summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarmojfekoj <theinric@redhat.com>2008-05-21 12:08:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-21 12:08:23 +0200
commit6e97513eea1a6e282365eb01d972e0657cb36baa (patch)
tree11f43d6aef7918c76682964108d8b94fa9a5db9a
parente59b833743e9c16fe47d47b1f818f7b1c4772e0b (diff)
downloadrsyslog-6e97513eea1a6e282365eb01d972e0657cb36baa.tar.gz
rsyslog-6e97513eea1a6e282365eb01d972e0657cb36baa.tar.xz
rsyslog-6e97513eea1a6e282365eb01d972e0657cb36baa.zip
bugfix: default syslog port was no longer used if none was configured.
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r--ChangeLog2
-rw-r--r--tools/omfwd.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ffe66f8f..c1201a6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
---------------------------------------------------------------------------
Version 3.19.3 (rgerhards), 2008-05-??
+- bugfix: default syslog port was no longer used if none was
+ configured. Thanks to varmojfekoj for the patch
---------------------------------------------------------------------------
Version 3.19.2 (rgerhards), 2008-05-16
- bugfix: TCP input modules did incorrectly set fromhost property
diff --git a/tools/omfwd.c b/tools/omfwd.c
index 59245536..c689b532 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -269,7 +269,7 @@ static rsRetVal TCPSendInit(void *pvData)
CHKiRet(netstrm.ConstructFinalize(pData->pNetstrm));
CHKiRet(netstrm.SetDrvrMode(pData->pNetstrm, pData->iStrmDrvrMode));
CHKiRet(netstrm.Connect(pData->pNetstrm, glbl.GetDefPFFamily(),
- (uchar*)pData->port, (uchar*)pData->f_hname));
+ (uchar*)getFwdPt(pData), (uchar*)pData->f_hname));
}
finalize_it: