summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lqr.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-01-28 01:56:34 +0000
committerBrian Somers <brian@FreeBSD.org>1999-01-28 01:56:34 +0000
commit972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f (patch)
treeabf712056c6d04b9db1781a70efa0546f37a6cbb /usr.sbin/ppp/lqr.c
parent485111b55ba6751a1405384bfe9dc696fb7a8e2a (diff)
downloadsrc-test2-972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f.tar.gz
src-test2-972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f.zip
Initial RADIUS support (using libradius). See the man page for
details. Compiling with -DNORADIUS (the default for `release') removes support. TODO: The functionality in libradius::rad_send_request() needs to be supplied as a set of routines so that ppp doesn't have to wait indefinitely for the radius server(s). Instead, we need to get a descriptor back, select() on the descriptor, and ask libradius to service it when necessary. For now, ppp blocks SIGALRM while in rad_send_request(), so it misses PAP/CHAP retries & timeouts if they occur. Only PAP is functional. When CHAP is attempted, libradius complains that no User-Password has been specified... rfc2138 says that it *mustn't* be used for CHAP :-( Sponsored by: Internet Business Solutions Ltd., Switzerland
Notes
Notes: svn path=/head/; revision=43313
Diffstat (limited to 'usr.sbin/ppp/lqr.c')
-rw-r--r--usr.sbin/ppp/lqr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c
index a54af4168d5a..ff17a243f8aa 100644
--- a/usr.sbin/ppp/lqr.c
+++ b/usr.sbin/ppp/lqr.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lqr.c,v 1.29 1998/06/27 23:48:49 brian Exp $
+ * $Id: lqr.c,v 1.30 1998/08/07 18:42:49 brian Exp $
*
* o LQR based on RFC1333
*
@@ -26,7 +26,7 @@
* o Allow user to configure LQM method and interval.
*/
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/un.h>
#include <string.h>