From owner-cvs-src@FreeBSD.ORG Sat Feb 21 04:48:26 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E81C16A4CE; Sat, 21 Feb 2004 04:48:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4179043D2F; Sat, 21 Feb 2004 04:48:26 -0800 (PST) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1LCmQGe078245; Sat, 21 Feb 2004 04:48:26 -0800 (PST) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1LCmQGA078244; Sat, 21 Feb 2004 04:48:26 -0800 (PST) (envelope-from yar) Message-Id: <200402211248.i1LCmQGA078244@repoman.freebsd.org> From: Yar Tikhiy Date: Sat, 21 Feb 2004 04:48:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 21 Feb 2004 12:48:26 -0000 yar 2004/02/21 04:48:25 PST FreeBSD src repository Modified files: sys/net if.c Log: Improve the SIOCSIFCAP handler a bit: - allow for ifp->if_ioctl being NULL, as the rest of ifioctl() does; - give the interface driver a chance to report a error to the caller; - don't forget to update ifp->if_lastchange upon successful modification of interface operation parameters. Revision Changes Path 1.180 +5 -1 src/sys/net/if.c