From owner-cvs-src@FreeBSD.ORG Fri May 25 13:45:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6647B16A46E; Fri, 25 May 2007 13:45:50 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 55AF113C48C; Fri, 25 May 2007 13:45:50 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4PDjoBG059656; Fri, 25 May 2007 13:45:50 GMT (envelope-from novel@repoman.freebsd.org) Received: (from novel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4PDjoEW059652; Fri, 25 May 2007 13:45:50 GMT (envelope-from novel) Message-Id: <200705251345.l4PDjoEW059652@repoman.freebsd.org> From: Roman Bogorodskiy Date: Fri, 25 May 2007 13:45:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/ppp command.c ppp.8.m4 radius.c radius.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 13:45:50 -0000 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 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