]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: remove useless RFC1583 check
authorAlexandre Chappuis <alc@open.ch>
Tue, 2 Aug 2011 13:37:39 +0000 (17:37 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 2 Aug 2011 13:37:39 +0000 (17:37 +0400)
commit1740f9e5906a7cb264e7741dd57a91654cb05dd0
tree6759049120c66d8d17c433a3a88dae0378b39bc9
parentc69f91be67896e7e68adb7da4b5b9c5f6013f1a2
ospfd: remove useless RFC1583 check

* ospf_route.c: Function ospf_asbr_route_cmp is called uniquely from
  ospf_route_cmp() when the flag OSPF_RFC1583_COMPATIBLE is not set.
  Therefore, the check that the flag is set doesn't make sense at all
  and it can consequently be removed without doing any harm.

Signed-off-by: Alexandre Chappuis <alc@open.ch>
Signed-off-by: Roman Hoog Antink <rha@open.ch>
ospfd/ospf_route.c