diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-22 22:01:20 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-23 04:50:24 +0200 |
commit | bf094f69758888e3bd555a24e91f3768bffbf31a (patch) | |
tree | eb4c2bbbdc5bb7350a1efbaff27d14655c2f168c /zebra/router-id.c | |
parent | lib: table.h needs to include prefix.h (diff) | |
download | frr-bf094f69758888e3bd555a24e91f3768bffbf31a.tar.xz frr-bf094f69758888e3bd555a24e91f3768bffbf31a.zip |
zebra: clean up zapi organization
zserv.c has become something of a dumping ground for everything vaguely
related to ZAPI and really needs some love. This change splits out the
code fo building and consuming ZAPI messages into a separate source
file, leaving the actual session and client lifecycle code in zserv.c.
Unfortunately since the #include situation in Zebra has not been paid
much attention I was forced to fix the headers in a lot of other source
files. This is a net improvement overall though.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/router-id.c')
-rw-r--r-- | zebra/router-id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c index f6c88a216..252b558a8 100644 --- a/zebra/router-id.c +++ b/zebra/router-id.c @@ -39,6 +39,7 @@ #include "vrf.h" #include "zebra/zserv.h" +#include "zebra/zapi_msg.h" #include "zebra/zebra_vrf.h" #include "zebra/router-id.h" #include "zebra/redistribute.h" |