On Fri, Feb 27, 2009 at 10:44 AM, Alpt <[email protected]> wrote:
> On Fri, Feb 27, 2009 at 10:23:51AM +0100, <Luca Dionisi>:
> ~> I removed a problem by applying the attached patch [1]
> ~> I am definitely unsure if this is the correct solution, it works
> ~> AFAICT on my system.
>
> Eriol is writing the more general solution.
>
> ~>             if not key in self.ip_table:
> ~>                 # send a message notifying we added a node
> ~>                 self.events.send('NEIGH_NEW',
> ~>                                  (Neigh(bestdev=self.ip_table[key].bestdev,
> ~>                                         devs=self.ip_table[key].devs,
> ~>                                         idn=self.ntk_client[key],
> ~>                                         ip=key,
> ~>                                         netid=self.netid_table[key],
> ~>                                         ntkd=self.translation_table[key])))
>
> sure. Replace self.ip_table[key] with ip_table[key], but just in this piece of
> code.
>

I was trying this path, but also
self.translation_table[key]
results in KeyError.
_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to