[Olsr-dev] two patches for FreeBSD

John Hay (spam-protected)
Thu Mar 26 18:03:12 CET 2009


Any progress on this? I see r4 just came out.

John

On Sun, Mar 22, 2009 at 01:11:45AM +0100, L. Aaron Kaplan wrote:
> 
> yup, can do... a bit later.
> 
> a.
> 
> On Mar 21, 2009, at 8:14 PM, Henning Rogge wrote:
> 
> > On Samstag 21 M?rz 2009 20:05:03 John Hay wrote:
> >> Hi,
> >>
> >> I have been trying out 0.5.6 tip and had two problems:
> >>
> >> FreeBSD-current does not have RTF_CLONING anymore, so I put it in a
> >> #ifdef RTF_CLONING
> >>
> >> The reshuffling in add_del_route6() broke the actual adding of IPv6
> >> routes.
> >>
> >> John
> >> --
> >> John Hay -- (spam-protected) / (spam-protected)
> >>
> >>
> >> --- src/bsd/kernel_routes.c.orig	2009-03-17 23:52:47.000000000 +0200
> >> +++ src/bsd/kernel_routes.c	2009-03-21 19:45:54.000000000 +0200
> >> @@ -176,7 +176,9 @@
> >>       memcpy(walker, sdl, sdl->sdl_len);
> >>       walker += sdl_size;
> >>       rtm->rtm_addrs |= RTA_GATEWAY;
> >> +#ifdef RTF_CLONING
> >>       rtm->rtm_flags |= RTF_CLONING;
> >> +#endif
> >> #ifndef _WRS_KERNEL
> >>       rtm->rtm_flags &= ~RTF_HOST;
> >> #endif
> >> @@ -295,7 +297,7 @@
> >> #endif
> >>     memcpy(walker, &sin6, sizeof(sin6));
> >>     walker += sin_size;
> >> -    rtm->rtm_addrs = RTA_GATEWAY;
> >> +    rtm->rtm_addrs |= RTA_GATEWAY;
> >>   }
> >>   else {
> >>     /*
> >> @@ -313,7 +315,7 @@
> >> #endif
> >>     memcpy(walker, &sin6, sizeof(sin6));
> >>     walker += sin_size;
> >> -    rtm->rtm_addrs = RTA_GATEWAY;
> >> +    rtm->rtm_addrs |= RTA_GATEWAY;
> >>     rtm->rtm_flags |= RTF_GATEWAY;
> >>   }
> >
> > Aaron, can you just push it through your virtual machines and the  
> > Mac and push
> > it to the development repository ?
> >
> > Henning




More information about the Olsr-dev mailing list