summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-09-20 20:14:38 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-09-21 13:27:50 -0300
commit66af68454bbace3e11e0e3a6dd865f2046939487 (patch)
tree4ce8748fbefafaca84aaa0d4bfea1057a9f99ee0 /lib/command_py.c
parent844b3a8748cce00fdcc913d7ff89f181b7fd9dd1 (diff)
zebra: make rib_add() a simple wrapper for rib_add_multipath()
Both function were very similar, and as we know code duplication is not good. As an example, in the past couple of weeks some fixes were made on rib_add() but not on rib_add_multipath(), causing known bugs to still exist in a different form. Instead of merging the two functions into one, let's make rib_add() call rib_add_multipath() with the appropriate parameters. This way we remove the code duplication but still keep the easy-to-use rib_add() function for single-path routes. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions