From owner-cvs-all@FreeBSD.ORG Mon Feb 2 15:26:21 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 701BA16A4CE; Mon, 2 Feb 2004 15:26:21 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 823EE43D2D; Mon, 2 Feb 2004 15:26:18 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i12NQF2h013217; Mon, 2 Feb 2004 15:26:15 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i12NQFHs013215; Mon, 2 Feb 2004 15:26:15 -0800 Date: Mon, 2 Feb 2004 15:26:15 -0800 From: Brooks Davis To: Andre Oppermann Message-ID: <20040202232614.GA24019@Odin.AC.HMC.Edu> References: <200402022253.i12MrGkO091411@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <200402022253.i12MrGkO091411@repoman.freebsd.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_icmp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 02 Feb 2004 23:26:21 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 02, 2004 at 02:53:16PM -0800, Andre Oppermann wrote: > andre 2004/02/02 14:53:16 PST >=20 > FreeBSD src repository >=20 > Modified files: > sys/netinet ip_icmp.c=20 > Log: > Add sysctl net.inet.icmp.reply_src to specify the interface name > used for the ICMP reply source in reponse to packets which are not > directly addressed to us. By default continue with with normal > source selection. Please consider storing the interface index rather then the name. It is much cheaper to go from index to ifp then name to ifp and the index will be invariant as long as the interface exists. Sometime in the next week the name will no longer be invariant. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAHtyWXY6L6fI4GtQRAkg/AJ0aPD/y97HuXW1UhviCtd7XdqP6VgCfRQ5Q 0ut+MALL0y9lEHhKMtd0mrI= =moh5 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--