summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lqr.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-05-14 12:55:39 +0000
committerBrian Somers <brian@FreeBSD.org>2002-05-14 12:55:39 +0000
commitde59e178aae50746b140808e7e31ef61b78cd6d5 (patch)
tree213dbf675b601fdd2934367847c24da5854fd2d9 /usr.sbin/ppp/lqr.c
parent8b20c954cbe7f643928b1e82f215a2e25bb2c6ef (diff)
downloadsrc-test2-de59e178aae50746b140808e7e31ef61b78cd6d5.tar.gz
src-test2-de59e178aae50746b140808e7e31ef61b78cd6d5.zip
o Clean up some #includes
o Bump version number to 3.0.4 o When talking to a RADIUS server, provide a NAS-Port-Type. When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal to the SESSIONID from the environment in direct mode or the NGM_PPPOE_SESSIONID message in other modes. If no SESSIONID is found, default to the interface index in client mode or zero in server mode. When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number of the physical device (ie, the N in /dev/i4brbchN). This makes it easier for the RADIUS server to identify the client WRT accounting data etc. Prompted by: lsz8425 <lsz8425@mail.cd.hn.cn>
Notes
Notes: svn path=/head/; revision=96582
Diffstat (limited to 'usr.sbin/ppp/lqr.c')
-rw-r--r--usr.sbin/ppp/lqr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c
index 881d967cfc16..2fe1844d08de 100644
--- a/usr.sbin/ppp/lqr.c
+++ b/usr.sbin/ppp/lqr.c
@@ -29,6 +29,10 @@
*/
#include <sys/param.h>
+
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
#include <sys/un.h>
#include <string.h>