]> git.proxmox.com Git - mirror_frr.git/commit
zebra: use a switch statement in nexthop_set_resolved()
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 20 Sep 2017 03:04:58 +0000 (00:04 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 9 Oct 2017 23:15:14 +0000 (20:15 -0300)
commitd855d11fadb8b0f105b177d980987ace503db9cf
tree72d88c0f1cc49ec3a6a70e765bbad6324756c6ae
parentcbdb74116f01b4758880c38dbaccbba6fb9572e5
zebra: use a switch statement in nexthop_set_resolved()

This makes the function much easier to read, and also faster.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_rib.c