git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
99ba2ae
)
irix-adapt-mtu-correctly-20011011
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Thu, 11 Oct 2001 19:39:32 +0000 (19:39 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 11 Oct 2001 19:39:32 +0000 (19:39 +0000)
rxi_MatchIfnet() always returns 0 (i.e. not a match). so rxi_FindIfnet()
will always return 0 and the ADAPT_MTU code can never determine the
interface (and its mtu)
fix by returning 1 if we have a match_value
src/rx/IRIX/rx_knet.c
patch
|
blob
|
history
diff --git
a/src/rx/IRIX/rx_knet.c
b/src/rx/IRIX/rx_knet.c
index
4e02690
..
74140f9
100644
(file)
--- a/
src/rx/IRIX/rx_knet.c
+++ b/
src/rx/IRIX/rx_knet.c
@@
-314,7
+314,7
@@
static int rxi_MatchIfnet(struct hashbucket *h, caddr_t key, caddr_t arg1,
}
}
*(int*)arg1 = match_value;
- return 0;
+ return (match_value ? 1 : 0);
}