]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Refactor v4 and v6 static_add into 1 function
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 24 Aug 2016 04:26:07 +0000 (00:26 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 1 Sep 2016 11:20:18 +0000 (07:20 -0400)
commit3a3d00f1bd3b82a9b1f2bca5485c578773c403b7
treed758fcd97d72939a1bfeab554246754fa56ee0b4
parentc7cfcb75e926f19f833d3c7881127bc743e4c661
zebra: Refactor v4 and v6 static_add into 1 function

Refactor the static_add_ipv[4|6] functions into
1 function call.  They are basically doing the exact
same thing no need for separate code paths.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_static.c
zebra/zebra_static.h
zebra/zebra_vty.c