[Xorp-hackers] Some fixes to OLSR (topology.cc)
Philip Hugg
phugg at crc.ca
Tue Jun 14 11:12:28 PDT 2011
On 14/06/2011 12:29 PM, Ben Greear wrote:
> On 06/14/2011 05:46 AM, Philip Hugg wrote:
>
>> I've included file 'topology.cc.patch'. Generated by
>> 'diff -uEw modified original > topology.cc.patch'.
>> Is this OK?
>
> You should put the original first to generate a proper patch,
> but I can fix that manually in this case.
>
> If you remember, can you describe what this fix fixes?
>
> Thanks,
> Ben
>
>
Ben,
Sorry about the patch file.
The modifications generally fixes and stabilizes the entries in the
OLSR's topology information base.
Fix 1- File -> topology.cc, method-> update_tc_entry(...).
This was a programmatic fix. The code would find and set 'is_found =
true' on an entry that really
didn't exist. The modification now does a more precise check of the entry.
Fix 2- method -> apply_tc_ansn(...)
This was an RFC fix. This seemed to have been forgotten during
implementation. See RFC section 9.5,
paragraphs 2 and 3.
I hope this helps!
Phil.
More information about the Xorp-hackers
mailing list