From owner-cvs-all Tue Nov 27 11:58:15 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 72B3E37B405; Tue, 27 Nov 2001 11:58:09 -0800 (PST) Received: (from dd@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fARJw9s89236; Tue, 27 Nov 2001 11:58:09 -0800 (PST) (envelope-from dd) Message-Id: <200111271958.fARJw9s89236@freefall.freebsd.org> From: Dima Dorfman Date: Tue, 27 Nov 2001 11:58:09 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_icmp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dd 2001/11/27 11:58:09 PST Modified files: sys/netinet ip_icmp.c Log: In icmp_reflect(): If the packet was not addressed to us and was received on an interface without an IP address, try to find a non-loopback AF_INET address to use. If that fails, drop it. Previously, we used the address at the top of the in_ifaddrhead list, which didn't make much sense, and would cause a panic if there were no AF_INET addresses configured on the system. PR: 29337, 30524 Reviewed by: ru, jlemon Obtained from: NetBSD Revision Changes Path 1.63 +15 -2 src/sys/netinet/ip_icmp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message