Differential D16135 Diff 45057 head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
Changeset View
Changeset View
Standalone View
Standalone View
head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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; |