aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-10-09 19:12:44 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-10-09 19:12:44 +0000
commit3d265fce43746c293ae826e9603adbfe09f93cf6 (patch)
tree595842fb2fed2701f1313532154050161a314090 /lib/libradius
parenteb88fed44616747f930b74c42259511823811fe1 (diff)
downloadsrc-3d265fce43746c293ae826e9603adbfe09f93cf6.tar.gz
src-3d265fce43746c293ae826e9603adbfe09f93cf6.zip
Fix a few mandoc issues
- skipping paragraph macro: Pp after Sh - sections out of conventional order: Sh EXAMPLES - whitespace at end of input line - normalizing date format
Notes
Notes: svn path=/head/; revision=366583
Diffstat (limited to 'lib/libradius')
-rw-r--r--lib/libradius/libradius.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libradius/libradius.3 b/lib/libradius/libradius.3
index f3ff70058d44..27612b73a1e3 100644
--- a/lib/libradius/libradius.3
+++ b/lib/libradius/libradius.3
@@ -485,7 +485,8 @@ To free the resources used by the RADIUS library, call
.Fn rad_close .
.Ss Server operation
Server mode operates much alike to client mode, except packet send and receive
-steps are swapped. To operate as server you should obtain server context with
+steps are swapped.
+To operate as server you should obtain server context with
.Fn rad_server_open
function, passing opened and bound UDP socket file descriptor as argument.
You should define allowed clients and their secrets using
@@ -493,9 +494,9 @@ You should define allowed clients and their secrets using
function. port, timeout and max_tries arguments are ignored in server mode.
You should call
.Fn rad_receive_request
-function to receive request from client. If you do not want to block on socket
-read, you are free to use any poll(), select() or non-blocking sockets for
-the socket.
+function to receive request from client.
+If you do not want to block on socket read, you are free to use any
+poll(), select() or non-blocking sockets for the socket.
Received request can be parsed with same parsing functions as for client.
To respond to the request you should call
.Fn rad_create_response