<div>hmm im not really sure what the best approach is,..</div><div><br></div><div>maybe you need to trigger a complete dijkstra,..</div><div><br>or remove the route from olsr and kernel data structures yourself (look at the code in process_routes.c))<br>
</div><div><br></div><div>btw does neet your plugin to create its own route to the mobile client? over the local master-mode-wireless interface?</div><div>if this route has lower metric, you could ignore the route of the foreign hna,.. (as it gets deleted after the next dijkstra anyways)</div>
<br><div class="gmail_quote">On Fri, Feb 12, 2010 at 2:44 PM, Raphael <span dir="ltr"><<a href="mailto:raphael@ralisi.de">raphael@ralisi.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everybody,<br>
how to I force a rebuilt of the routing table and have it flushed to the kernel?<br>
Lets say I add a hostroute with ip_prefix_list_add(). The same host is<br>
also announced by hna from another node.<br>
<br>
So when adding this node to my announced prefixes, it should disappear<br>
from the rotung table.<br>
I tried<br>
olsr_update_rib_routes();<br>
olsr_update_kernel_routes();<br>
but this didnt do the trick. (The route disappeared 4 seconds later)<br>
<br>
<br>
//Raphael<br>
<font color="#888888"><br>
--<br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org">Olsr-dev@lists.olsr.org</a><br>
<a href="http://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
<br>
</font></blockquote></div><br>