Thank you very much! I changed lines 136 and 140 and It works now! Regards,
Sondes --- "Buch-Pedersen, Leif" <[EMAIL PROTECTED]> a écrit : > You may have problems with a patch created using > cut-and-paste. You may not have the right amount of > spaces and tabs and the mail-reflector may break > some lines. > > Try to add the -l option to your patch command > (patch -p1 -l ......). > > As a last resort you may change the file src/rtnl.c > by hand. > > In lines 136 and 140 you should replace the > statement "continue;" with "break;" > > Best regards, > > Leif > > > > > -----Original Message----- > > From: larafa sondes > [mailto:[EMAIL PROTECTED] > > Sent: Friday, 21 April, 2006 18:36 > > To: Buch-Pedersen, Leif; Ville Nuorvala > > Cc: [email protected] > > Subject: RE: [mipl] MIPL 2.0.1 problems with MN - > works now > > > > Hey, > > > > I got this message after patching: > > > > patching file src/rtnl.c > > Hunk #1 FAILED at 133. > > patch unexpectedly ends in middle of line > > 1 out of 1 hunk FAILED -- saving rejects to file > > src/rtnl.c.rej patch unexpectedly ends in middle > of line > > > > > > Is that normal? > > > > --- "Buch-Pedersen, Leif" > <[EMAIL PROTECTED]> a écrit : > > > > > It works now. > > > > > > I always had problems with the failing recvmsg > in > > rtnl_ext_listen. I > > > would expect there was a reason for it being > there. > > > This patch made the > > > trick: > > > > > > --- mipv6-2.0.1/src/rtnl.c 2006-02-25 > > > 12:13:33.000000000 +0100 > > > +++ mipv6-2.0.1-patched/src/rtnl.c > 2006-04-21 > > > 16:34:18.000000000 > > > +0200 > > > @@ -133,11 +133,11 @@ > > > int l = len - > sizeof(*h); > > > > > > if (l<0 || len>status) > > > - continue; > > > + break; > > > > > > err = handler(&nladdr, > h, jarg); > > > if (err < 0) > > > - continue; > > > + break; > > > > > > status -= > NLMSG_ALIGN(len); > > > h = (struct > > > nlmsghdr*)((char*)h + > > > NLMSG_ALIGN(len)); > > > > > > When recvmsg fails you exit the "for h=" loop > but stay in > > > rtnl_ext_listen waiting for the next return from > recvmsg. > > > Obviously I have undone the patch you sent > earlier (where > > you exit on > > > any error from recvmsg). > > > > > > With this patch MN registers immediately with > HA. > > > > > > The patch is actually contained in the UMIP > patch. > > > > > > Leif > > > > > > > > > _______________________________________________ > > > mipl mailing list > > > [email protected] > > > > > > http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl > > > > > > > > > > > > > > > > > > > > ______________________________________________________________ > > _____________ > > Faites de Yahoo! votre page d'accueil sur le web > pour > > retrouver directement vos services préférés : > vérifiez vos > > nouveaux mails, lancez vos recherches et suivez > l'actualité > > en temps réel. > > Rendez-vous sur http://fr.yahoo.com/set > > > ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set _______________________________________________ mipl mailing list [email protected] http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl
