diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 15:46:48 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 18:21:00 +0100 |
commit | 6edbb8b2e3fc0f4636a82931abecabe6833197f1 (patch) | |
tree | 80f2fbff97a01294c14fa375ffb1d85dd2008772 /lib/mlag.h | |
parent | pimd: Add the reading of capabilities on startup. (diff) | |
download | frr-6edbb8b2e3fc0f4636a82931abecabe6833197f1.tar.xz frr-6edbb8b2e3fc0f4636a82931abecabe6833197f1.zip |
lib: Add mlag_role2str function
Add a generic mlag_role2str function for lib since multiple daemons
will be using this code.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/mlag.h')
-rw-r--r-- | lib/mlag.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mlag.h b/lib/mlag.h index 05fbd1b8a..73725ca3f 100644 --- a/lib/mlag.h +++ b/lib/mlag.h @@ -28,4 +28,5 @@ enum mlag_role { MLAG_ROLE_SECONDARY }; +extern char *mlag_role2str(enum mlag_role role, char *buf, size_t size); #endif |