]> git.puffer.fish Git - matthieu/frr.git/commit
ripd: use only one constant for derivation
authorLu Feng <lu.feng@6wind.com>
Wed, 25 Jun 2014 07:43:15 +0000 (07:43 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 2 Jul 2014 17:30:20 +0000 (19:30 +0200)
commit342a31bfda21616209366679ac522471e5772a2f
tree359be93388f4efe5283b291f322c78c9e2389f0f
parent052573ee2319b21657a79e1b76a5c801701fa38c
ripd: use only one constant for derivation

RIP_MAX_RTE is defined in ripd.h as 25 but is in fact the
result of a formula. More over it is not used in the code:
the code itself includes the fomula. This makes it un-clear
for maintenance.

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ripd/ripd.c
ripd/ripd.h