]> git.puffer.fish Git - mirror/frr.git/commit
[ospfd] Minor enhancements to recent self-host-routes suppression patch
authorPaul Jakma <paul.jakma@sun.com>
Thu, 4 Sep 2008 12:52:07 +0000 (13:52 +0100)
committerPaul Jakma <paul@quagga.net>
Thu, 4 Sep 2008 12:52:07 +0000 (13:52 +0100)
commitb3bc68e5a4eecd85138463ae5742c2ccaa1db4bb
tree57f3167f01485aee55ca6fb47dd9b87e0b01bd41
parent742c64ff34a79ad22982c433edd8d7cf32fd9cdf
[ospfd] Minor enhancements to recent self-host-routes suppression patch

* ospf_spf.c: (ospf_spf_process_stubs) Track whether
  parent router vertex is the root, so that the host-route
  suppression logic need only be activated for such vertices.
  Move the actual logic to ospf_intra_add_stub.
* ospf_route.c: (ospf_intra_add_stub) Main test of link moved
  here, notionally more appropriate.
ospfd/ospf_route.c
ospfd/ospf_route.h
ospfd/ospf_spf.c