From 1e632307687540306781cfd4fc4931c0efbe7a70 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 26 Jan 2001 22:11:33 +0000 Subject: [PATCH] fixed port was sent in the wrong byte order in beacon message --- src/cas/io/bsdSocket/casDGIntfIO.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cas/io/bsdSocket/casDGIntfIO.cc b/src/cas/io/bsdSocket/casDGIntfIO.cc index c9de6a692..0f5664ab2 100644 --- a/src/cas/io/bsdSocket/casDGIntfIO.cc +++ b/src/cas/io/bsdSocket/casDGIntfIO.cc @@ -369,7 +369,7 @@ void casDGIntfIO::sendBeaconIO (char &msg, unsigned length, aitUint16 &portField int status; char buf[64]; - portField = htons (inetAddr.sin_port); // the TCP port + portField = inetAddr.sin_port; // the TCP port for (pAddr = (osiSockAddrNode *)ellFirst(&this->beaconAddrList); pAddr; pAddr = (osiSockAddrNode *)ellNext(&pAddr->node)) {