[quagga-dev 7405] Re: [PATCH 0/7] ospfd: Fix and cleanup nbrs

Bartek Kania mrbk at gnarf.org
Wed Nov 25 18:04:34 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

>> So it appears that some neighbors are created before ospfd decides
>> what router-id it has and then ospfd gets confused or somesuch.
> This all confirm my theory but the fix was somewhat wrong :)
> cold you change patch ospfd: Self nbrs needs to be rebuilt when router ID changes.
> from
> +		   ospf_nbr_delete(oi->nbr_self);
> +		   ospf_nbr_add_self(oi);
> to
> +		   ospf_nbr_delete(oi->nbr_self);
> +		   oi->nbr_self = ospf_nbr_new (oi);
> +		   ospf_nbr_add_self(oi);

That nailed it!
I'll try to test your other patches later today or tomorrow.

/B
- -- 
* GPG-Key: http://bk.gnarf.org/mrbk.pgp

A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?
- -- http://www.i-hate-computers.demon.co.uk/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iFcDBQFLDXGy0Jh544i+M5kRCENbAP47XUcple0q6J5L3unfspMSB8GwIbyQV5Dd
y1iOilloiQD/WRvz8R4nf5SjSi/BVu65beLGaEdR3fXWdbKHEJjQNw4=
=fEMj
-----END PGP SIGNATURE-----



More information about the Quagga-dev mailing list