diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-12-10 02:48:21 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-12-15 15:36:23 +0100 |
commit | 14d9bbbe5c6526f729f0bdbd7e0513d69feb1a87 (patch) | |
tree | 933c6981fdfc0c21ebd467f52525463546a92b52 /zebra/zebra_mlag.h | |
parent | Merge pull request #5452 from mjstapp/fix_notify_nhg (diff) | |
download | frr-14d9bbbe5c6526f729f0bdbd7e0513d69feb1a87.tar.xz frr-14d9bbbe5c6526f729f0bdbd7e0513d69feb1a87.zip |
zebra: Allow zebra_mlag to compile with no j factor
If you compile FRR with no j factor zebra_mlag.c fails to
build because the vtysh extraction methodology runs first
before the protobuf compiler runs and that compilation does
not have the proper dependancy chain built for the inclusions
that zebra_mlag.c had. Moving the DEF* code into a zebra_mlag_vty.c
which can be included in the vtysh extraction code and has
no mlag.proto dependancies makes the compilation work better.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mlag.h')
-rw-r--r-- | zebra/zebra_mlag.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_mlag.h b/zebra/zebra_mlag.h index 1f024516c..b95f5a5d5 100644 --- a/zebra/zebra_mlag.h +++ b/zebra/zebra_mlag.h @@ -64,6 +64,9 @@ void zebra_mlag_send_register(void); void zebra_mlag_send_deregister(void); void zebra_mlag_handle_process_state(enum zebra_mlag_state state); void zebra_mlag_process_mlag_data(uint8_t *data, uint32_t len); +int32_t zebra_mlag_test_mlag_internal(const char *none, const char *primary, + const char *secondary); + /* * ProtoBuffer Api's */ @@ -71,4 +74,5 @@ int zebra_mlag_protobuf_encode_client_data(struct stream *s, uint32_t *msg_type); int zebra_mlag_protobuf_decode_message(struct stream *s, uint8_t *data, uint32_t len); +void zebra_mlag_vty_init(void); #endif |