[Olsr-users] main_addr remains unchanged

Siamak Eskandari (spam-protected)
Sun Aug 19 16:57:09 CEST 2007


Hi everyone,
 
I have tried to change ip address of an wireless interface from a plugin right after the olsrd is started.
I observed that the ip address of the interface changes, while the ip address of the node(main_addr) remains unchanged. Actually it remains the prior address of the interface.
Due that fact I tried to change the ip address of "main_addr" directly in my code by using the following functions:
 
memcpy(&main_addr,&interface->ip_addr) and memcpy(&main_addr,ifreq.ifr_addr);
check_interface_updates( )
chk_if_changed( )
Any explanation?
 
I appreciate to get help.
 
Regards,
Siamak


      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20070819/76070ac2/attachment.html>


More information about the Olsr-users mailing list