mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-25 07:59:41 +08:00
Allow to specify binding address for RADIUS
This commit is contained in:
1 parent
edaee895e6
commit
a8b000b7f1
4 files changed
+11
-4
No files matched your search
@@ -554,6 +554,7 @@ int radsend(struct clientparam * param, int auth, int stop){
|
||||
}
|
||||
else remsock = radiuslist[loop].logsock;
|
||||
*/
|
||||
so._bind(param->remsock,(struct sockaddr *)&radiuslist[loop].localaddr,SASIZE(&radiuslist[loop].localaddr));
|
||||
len = so._sendto(remsock, (char *)&packet, total_length, 0,
|
||||
(struct sockaddr *)&saremote, sizeof(saremote));
|
||||
if(len != ntohs(packet.length)){
|
||||
|
||||
Reference in new issue
Block a user