From owner-cvs-all Thu Jul 25 1: 8:34 2002 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 AB89437B400; Thu, 25 Jul 2002 01:08:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B5AE43E72; Thu, 25 Jul 2002 01:08:30 -0700 (PDT) (envelope-from ume@FreeBSD.org) Received: from freefall.freebsd.org (ume@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6P88UJU098582; Thu, 25 Jul 2002 01:08:30 -0700 (PDT) (envelope-from ume@freefall.freebsd.org) Received: (from ume@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6P88Uju098581; Thu, 25 Jul 2002 01:08:30 -0700 (PDT) Message-Id: <200207250808.g6P88Uju098581@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Thu, 25 Jul 2002 01:08:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getifaddrs.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 ume 2002/07/25 01:08:30 PDT Modified files: lib/libc/net getifaddrs.c Log: sysctl(NET_RT_IFLIST) up to several (currently 5) times. This will make the behavior robuster if many addresses are added after the size estimation of storage at the first sysctl. Reviewed by: JINMEI Tatuya MFC after: 1 week Revision Changes Path 1.6 +29 -8 src/lib/libc/net/getifaddrs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message