OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12pre2-14-g8553482
Gerrit Code Review
gerrit@openafs.org
Tue, 9 Feb 2010 08:26:57 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit 8553482f63b9f326cf71cf4689f569f96adb2a7c
Author: Antoine Verheijen <antoine@ualberta.ca>
Date: Mon Feb 8 15:23:03 2010 -0700
OpenBSD: fix lookup of network interfaces
Starting with OpenBSD 4.2, the interface list returned by sysctl using
NET_RT_IFLIST contains multiple versions of the data. This really
messes up the rx_getAllAddr_internal() routine that returns a list of
valid interfaces for the system (to the point where none are returned).
This change adds a routine that cleans up the data returned by sysctl
so it returns only a single (the most current) version of the data.
That stops afsd (among others) from being cranky when it starts up.
Change-Id: Ief1df0d2c3eb241c45b439a785ddb67d3afe992c
Reviewed-on: http://gerrit.openafs.org/1274
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit d06bc699f2e3848da8ce9a7fa20ac99db630bd1b)
Change-Id: I3c1f0b96b579784c6702ade34e33a3348fe82885
Reviewed-on: http://gerrit.openafs.org/1259
src/rx/rx_getaddr.c | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository