commit | f3cfc46450cccc5ac035a5a97c5a1a5484205705 | [log] [tgz] |
---|---|---|
author | Donald Sharp <sharpd@cumulusnetworks.com> | Thu Jan 07 09:33:28 2016 -0500 |
committer | Paul Jakma <paul.jakma@hpe.com> | Fri Feb 26 14:11:40 2016 +0000 |
tree | 3ae512da65c1b4962363c038b8b2c94e27decf65 | |
parent | d5062d218994885710fe02f516f0c06025b4fc9a [diff] |
lib, bgpd: Fixup afi_t to be an enum and cleanup zebra.h This code change does two things: 1) Removes ZEBRA_AFI_XXX #defines since they were redundant information 2) Switches afi_t to an enumerated type so that the compiler can do a bit more compile time checking. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>