rx getaddr loopback change fallout

failed to git add, and so failed to push this back.

Change-Id: Ic538ac13f3099cfb3b8a5561e332750421ddd093
Reviewed-on: http://gerrit.openafs.org/2386
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2010-07-12 15:04:44 -04:00
parent c44f640df3
commit 78e4c7561b

View File

@ -329,7 +329,7 @@ rx_getAllAddrMaskMtu(afs_uint32 addrBuffer[], afs_uint32 maskBuffer[],
} }
a = (struct sockaddr_in *) info.rti_info[RTAX_IFA]; a = (struct sockaddr_in *) info.rti_info[RTAX_IFA];
if (!rx_IsLoopbackAddr(ntohl(a->sin_addr.s_addr))) ) { if (!rx_IsLoopbackAddr(ntohl(a->sin_addr.s_addr))) {
if (count >= maxSize) { /* no more space */ if (count >= maxSize) { /* no more space */
dpf(("Too many interfaces..ignoring 0x%x\n", dpf(("Too many interfaces..ignoring 0x%x\n",
a->sin_addr.s_addr)); a->sin_addr.s_addr));