summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/omfwd.c')
-rw-r--r--tools/omfwd.c2
1 files changed, 1 insertions, 1 deletions
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: