]> git.puffer.fish Git - mirror/frr.git/commit
lib: use switch statements in the AFI/SAFI conversion functions
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 1 Aug 2017 00:22:20 +0000 (21:22 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 1 Aug 2017 02:45:03 +0000 (23:45 -0300)
commit085347cfadbca04a7dfee175971c23e266becc6b
tree2985709e4844ba19230b8189d128c3b048bbea6d
parent5c5255381e5b457e263081455a9677afa6b9e470
lib: use switch statements in the AFI/SAFI conversion functions

Switch statements are more elegant (and potentially faster... but that's
not the main motivation).

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