]> git.puffer.fish Git - mirror/frr.git/commit
[bgpd] aspath_loop_check was broken, fix it and the aspath unit test code.
authorPaul Jakma <paul.jakma@sun.com>
Sun, 6 Aug 2006 15:52:11 +0000 (15:52 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sun, 6 Aug 2006 15:52:11 +0000 (15:52 +0000)
commit1f742f21a98f756cea03856849fa2f82f467baf7
treefe295616ed2036e691cf85f7fd73083ad4ddc2fd
parent36943749147bef10df8ffc0e2ad79f4dd06cd9ac
[bgpd] aspath_loop_check was broken, fix it and the aspath unit test code.

2006-08-06 Paul Jakma <paul.jakma@sun.com>

* bgp_aspath.c: (aspath_loop_check) Fix the typo-bug which
  essentially had disabled this check. Problem reported by
  Bartek Kania <mrbk@gnarf.org> in [quagga-users 7388].
* aspath_test.c: (validate) Fix the sense of the aspath_loop_check,
  which was the wrong way around and had actually been testing for
  aspath_loop_check to be buggy.
bgpd/ChangeLog
bgpd/bgp_aspath.c
tests/ChangeLog
tests/aspath_test.c