From owner-cvs-all@FreeBSD.ORG Mon May 28 00:08:39 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B472F16A4D2; Mon, 28 May 2007 00:08:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7104A13C489; Mon, 28 May 2007 00:08:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 648D41FFDED; Mon, 28 May 2007 01:45:09 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 20D201FFDEC; Mon, 28 May 2007 01:45:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 5FA5944487F; Sun, 27 May 2007 23:40:42 +0000 (UTC) Date: Sun, 27 May 2007 23:40:42 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Roman Bogorodskiy In-Reply-To: <200705251345.l4PDjoEW059652@repoman.freebsd.org> Message-ID: <20070527233522.E13311@maildrop.int.zabbadoz.net> References: <200705251345.l4PDjoEW059652@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp command.c ppp.8.m4 radius.c radius.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 00:08:39 -0000 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