From 73392259ec523fd9648e2c589d491050066d84d7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 25 Jan 2010 12:36:25 -0500 Subject: [PATCH] darwin80 if changes cleanup fix the indirection here to be correct. ifnet_list_get needs a pointer to a pointer for the ifnet structure Change-Id: I81bd7c383c63cc1e312fcfd482d7162d50f6f1d3 Reviewed-on: http://gerrit.openafs.org/1158 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/afs_server.c | 2 +- src/rx/rx_kcommon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index bd1e4af..93e57fa 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -1478,7 +1478,7 @@ static int afs_SetServerPrefs(struct srvAddr *sa) { rx_ifaddr_t *ifads; rx_ifnet_t *ifns; - if (!ifnet_list_get(AF_INET, ifns, &count)) { + if (!ifnet_list_get(AF_INET, &ifns, &count)) { for (m = 0; m < count; m++) { if (!ifnet_get_address_list(ifns[m], &ifads)) { for (j = 0; ifads[j] != NULL && cnt < ADDRSPERSITE; j++) { diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index 8432041..92e60a8 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -686,7 +686,7 @@ rxi_GetIFInfo(void) memset(mtus, 0, sizeof(mtus)); #if defined(AFS_DARWIN80_ENV) - if (!ifnet_list_get(AF_INET, ifns, &count)) { + if (!ifnet_list_get(AF_INET, &ifns, &count)) { for (m = 0; m < count; m++) { if (!ifnet_get_address_list(ifns[m], &ifads)) { for (j = 0; ifads[j] != NULL && cnt < ADDRSPERSITE; j++) { -- 1.9.4