forked from Imagelibrary/rtems
2004-04-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/net/route.c: Reflect changes to radix.h.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-04-24 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libnetworking/net/route.c: Reflect changes to radix.h.
|
||||||
|
|
||||||
2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
|
2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||||
|
|
||||||
* libnetworking/net/radix.h, libnetworking/net/radix.c: Partial
|
* libnetworking/net/radix.h, libnetworking/net/radix.c: Partial
|
||||||
|
|||||||
@@ -688,7 +688,7 @@ rt_fixchange(struct radix_node *rn, void *vp)
|
|||||||
xm1 = (u_char *)rt_mask(rt0);
|
xm1 = (u_char *)rt_mask(rt0);
|
||||||
xk2 = (u_char *)rt_key(rt);
|
xk2 = (u_char *)rt_key(rt);
|
||||||
|
|
||||||
for (i = rnh->rnh_treetop->rn_off; i < len; i++) {
|
for (i = rnh->rnh_treetop->rn_offset; i < len; i++) {
|
||||||
if ((xk2[i] & xm1[i]) != xk1[i]) {
|
if ((xk2[i] & xm1[i]) != xk1[i]) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if(rtfcdebug) printf("no match\n");
|
if(rtfcdebug) printf("no match\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user