Skip to content

Commit 58292d6

Browse files
authored
Fix for typo in socket implementation. (#359)
HOTFIX | Fix for typo in socket implementation.
1 parent 9c4458f commit 58292d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtins/SocketStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void SocketStreamer::configureSocketServer( )
224224
// for details. We are making it 'reusable'.
225225
int on = 1;
226226

227-
#ifdef SO_REUSEADDR
227+
#ifdef SO_REUSEPORT
228228
if(0 > setsockopt(sockfd_, SOL_SOCKET, SO_REUSEPORT, (const char *)&on, sizeof(on)))
229229
LOG(moose::warning, "Warn: setsockopt() failed");
230230
#endif

0 commit comments

Comments
 (0)