On Fri, 25 May 2007, Roman Bogorodskiy wrote:
novel 2007-05-25 13:45:49 UTC
FreeBSD src repository (ports committer)
Modified files:
usr.sbin/ppp command.c ppp.8.m4 radius.c radius.h
Log:
Add a new option for ppp.conf: rad_port_id. It allows to
change the way of what ppp submits to the RADIUS server
as NAS-Port-Id. Possible options are: the PID of the process
owning the corresponding interface, tun(4) interface number,
interface index (as it would get returned by if_nametoindex(3)),
or it's possible to keep the default behavior. Check the ppp(8)
manual page for details.
PR: bin/112764
Submitted by: novel (myself)
Reviewed by: flz
Approved by: flz
MFC after: 1 month
Revision Changes Path
1.307 +27 -1 src/usr.sbin/ppp/command.c
@@ -144,6 +144,7 @@
#define VAR_IPV6CPRETRY 37
#define VAR_RAD_ALIVE 38
#define VAR_PPPOE 39
+#define VAR_PORT_ID 40
Was there some reason the VAR_ and the NEG_ defines were in
different ranges? If so there is a conflict now and maybe we
should move the NEG_ defines to 128+?
1.326 +20 -1 src/usr.sbin/ppp/ppp.8.m4
1.54 +27 -10 src/usr.sbin/ppp/radius.c
1.22 +6 -0 src/usr.sbin/ppp/radius.h
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"