Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157918979
D16135.id44894.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16135.id44894.diff
View Options
Index: security/openvpn-auth-radius/Makefile
===================================================================
--- security/openvpn-auth-radius/Makefile
+++ security/openvpn-auth-radius/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvpn-auth-radius
PORTVERSION= 2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.nongnu.org/radiusplugin/ \
http://svn-cache.ipcopaddons.org/
Index: security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
===================================================================
--- /dev/null
+++ security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
@@ -0,0 +1,11 @@
+--- RadiusClass/RadiusPacket.cpp.org 2018-07-01 19:15:50.008190000 +0000
++++ RadiusClass/RadiusPacket.cpp 2018-07-01 19:15:59.981025000 +0000
+@@ -442,7 +442,7 @@
+ 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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 27, 12:04 PM (7 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33555862
Default Alt Text
D16135.id44894.diff (1 KB)
Attached To
Mode
D16135: security/openvpn-auth-radius: fix build on 11.2-RELEASE
Attached
Detach File
Event Timeline
Log In to Comment