[olsr-dev] plugin problem with olsrd 0.4.5
(spam-protected)
(spam-protected)
Fri Feb 18 16:49:08 CET 2005
Hi everybody!
I am using olsrd 0.4.5. I have 2 plugins which communicate with an application.
The first plugin (called "topology_plugin") retrieves the neighbortable and the tc_table and send it to the application whenever there are changes in the topology.
On another hand, the application could send to the second plugin (called "localisation_plugin") some information which are stored in a table. The content of this table is periodically sent to the other nodes of the network.
When the application doesn't send anything to the localisation, the topology plugin works: I can create the correct tc an the neighbortable inside the application.
The "localisation plugin" alone works good too.
Here is my problem:
I have 2 pc running my application and olsrd (with the 2 plugins).
PC A with ip address : 192.168.209.1
PC B with ip address : 192.168.209.2
Everything works good until my application sends data to the localisation plugin. Indeed, just after the localisation plugin receives the data, the neighbortable becomes wrong : a 2hop neighbor is added!!!
Here is the log of olsrd on the machine A ("type insert" trace indicates when the plugin has retrieved the data sent by the appilcation) :
"
Neighbor list(12:42:06.226708):
192.168.209.2:l=1:m=0:w=6[2hlist:]
Neighbor list(12:42:08.097003):
192.168.209.2:l=1:m=0:w=6[2hlist:]
Neighbor list(12:42:09.966148):
192.168.209.2:l=1:m=0:w=6[2hlist:]
type Insert
Setting 192.168.209.2 as MPR
ADD ROUTE 1: 192.168.209.2 Could not find neighbor interface for 192.168.209.2!!
ADD ROUTE 1: 192.168.209.1 Could not find neighbor interface for 192.168.209.2!!
(ioctl)Deleting route: 192.168.209.2(hopc 2)
Neighbor list(12:42:11.945749):
192.168.209.2:l=1:m=1:w=6[2hlist:192.168.209.1:]
TC: adding entry 192.168.209.2
ADD ROUTE 1: 192.168.209.2 Could not find neighbor interface for 192.168.209.2!!
ADD ROUTE 1: 192.168.209.1 Could not find neighbor interface for 192.168.209.2!!
Neighbor list(12:42:13.707308):
192.168.209.2:l=1:m=1:w=6[2hlist:192.168.209.1:]
Neighbor list(12:42:15.476709):
192.168.209.2:l=1:m=1:w=6[2hlist:192.168.209.1:]
"
I don't know what to think because the localisation plugin has only received some information and it seems it affects the neighbor detection!??
If someone has an idea about that...
Best regards
Jerome
More information about the Olsr-dev
mailing list