]> git.ipfire.org Git - thirdparty/bird.git/commit
Bugfix in LSA origination for PTP OSPF links.
authorOndrej Zajicek <santiago@crfreenet.org>
Sun, 26 Oct 2008 22:43:13 +0000 (23:43 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sun, 26 Oct 2008 22:43:13 +0000 (23:43 +0100)
commita97122a3caff40bf35e6019a9b60d5e5ef35a84f
treeccc09a8b829559f6e3ade60799030a5917f7c7b0
parent4c94a6c7e78fb75a9952d891db9d47605f8a26e1
Bugfix in LSA origination for PTP OSPF links.

The code generating LSAs for PTP OSPF links is buggy. The old behavior
is that it generates PTP link if there is a full/ptp neighbor and stub
link if there isn't. According to RFC 2328, the correct behavior is to
generate stub link in both cases (in the first case together with PTP
link).

And because of buggy detection of unnumbered networks, for numbered
networks the code creates stub links with 0.0.0.0/32.
proto/ospf/topology.c