diff options
author | brian <brian@FreeBSD.org> | 2002-05-14 12:55:39 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-05-14 12:55:39 +0000 |
commit | c2da7c8697491402af4f8ab3082d2c047114ccad (patch) | |
tree | 213dbf675b601fdd2934367847c24da5854fd2d9 /usr.sbin/ppp/ncpaddr.c | |
parent | 4e0ba1d0e6f3418e983e80b52552d0cd201048bb (diff) | |
download | FreeBSD-src-c2da7c8697491402af4f8ab3082d2c047114ccad.zip FreeBSD-src-c2da7c8697491402af4f8ab3082d2c047114ccad.tar.gz |
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>
Diffstat (limited to 'usr.sbin/ppp/ncpaddr.c')
-rw-r--r-- | usr.sbin/ppp/ncpaddr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/usr.sbin/ppp/ncpaddr.c b/usr.sbin/ppp/ncpaddr.c index 943db3d..239253d 100644 --- a/usr.sbin/ppp/ncpaddr.c +++ b/usr.sbin/ppp/ncpaddr.c @@ -28,15 +28,12 @@ #include <sys/types.h> #include <sys/socket.h> -#include <net/if_types.h> -#include <net/route.h> #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> #include <arpa/inet.h> #include <sys/un.h> -#include <limits.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> @@ -52,11 +49,8 @@ #include "iplist.h" #include "throughput.h" #include "mbuf.h" -#include "ip.h" #include "ipcp.h" -#include "filter.h" #include "descriptor.h" -#include "route.h" #include "layer.h" #include "lqr.h" #include "hdlc.h" @@ -64,12 +58,8 @@ #include "ccp.h" #include "link.h" #include "mp.h" -#ifndef NORADIUS -#include "radius.h" -#endif #include "ipv6cp.h" #include "ncp.h" -#include "bundle.h" #define ncprange_ip4addr u.ip4.ipaddr |