mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
PR: 229456 Submitted by: nicolas@deffayet.com Approved by: maintainer, pi (mentor) MFC after: 2018Q3 Sponsored by: HAW International, Inc. Differential Revision: https://reviews.freebsd.org/D16135
11 lines
471 B
C++
11 lines
471 B
C++
--- RadiusClass/RadiusPacket.cpp.orig 2010-01-31 14:34:02 UTC
|
|
+++ RadiusClass/RadiusPacket.cpp
|
|
@@ -442,7 +442,7 @@ int RadiusPacket::radiusSend(list<Radius
|
|
cliAddr.sin_port=htons(0);
|
|
|
|
//Bind the socket port,
|
|
- if(bind(socket2Radius,(struct sockaddr*)&cliAddr,sizeof(struct sockaddr))<0)
|
|
+ if(::bind(socket2Radius,(struct sockaddr*)&cliAddr,sizeof(struct sockaddr))<0)
|
|
{
|
|
cerr << "Cannot bind port: " << strerror(errno) << "\n";
|
|
socket2Radius=-1;
|