Date: Thu, 25 Jul 2002 01:08:30 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getifaddrs.c Message-ID: <200207250808.g6P88Uju098581@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <jinmei@isl.rdc.toshiba.co.jp>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207250808.g6P88Uju098581>
