summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-07-27 15:52:52 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-07-27 23:39:35 -0300
commitc6cef20ba9d317792a9742c3efb728f4aa766dad (patch)
tree7f8224aa2d9ddaa1890edf5e03e2bf60dc0d1287 /lib/openbsd-queue.h
parent33df4bb219d6c5b972877434c57fa85543dc8a5e (diff)
zebra: refactor zebra_static_ipv4() and static_ipv6_func()
This is a preliminary step to join both functions into one later. The main idea here is to make these functions have separate arguments for the nexthop address and the nexthop interface, and adjust the call sites appropriately. Having an argument that could be a nexthop address OR a nexthop interface was making the code very hard to follow. With this simplification, a lot of code duplication was removed and now both functions look very similar. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions