Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TCP sockets work with udpfromto.
Add a "proto" field to RADIUS_PACKET. Have it checked in rad_send(), so that we just use write(). Using sendto() is OK for TCP sockets. Using udpfromto is not OK for TCP sockets. Ensure that the TCP code in listen.c sets the proto field. Ensure that rad_alloc_reply() sets the proto field Ensure that radclient sets the proto field as necessary Conflicts: src/main/radclient.c
- Loading branch information
Showing
4 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters