summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-02 15:02:07 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-02 15:02:07 -0400
commit17136bf23e2ceb1d8a93ef79e8ba87f23c3dd260 (patch)
tree1327a454aebdafb7e9ace6ae26aec93dbaf3dc50 /lib/lib_errors.h
parent748a041f09a8f89d07979c0ba73738f3292a28aa (diff)
lib, bgpd: Create iana_afi.h for storing iana_afi/safi enums
The iana_afi_t and iana_safi_t were being created in zebra.h and zebra.h is a bit of a dumping ground. When the iana_afi2str and iana_safi2str functions were created, it was correctly pointed out that we should just use the internal afi_t and safi_t 2str functions but to do that we would need to include prefix.h in zebra.h. Which really is not the right thing to do. This tells us that we need to break out this code into it's own header. Move to iana_afi.h the enums and specific functions and remove from zebra. Convert to using the afi2str and safi2str functions. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions