summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_netlink.c
diff options
context:
space:
mode:
authorDuncan Eastoe <duncan.eastoe@att.com>2020-11-27 16:45:35 +0100
committerDuncan Eastoe <duncan.eastoe@att.com>2020-11-27 17:32:01 +0100
commitb300c8bbcff94018fd0dce2ce19cdb830a673a4f (patch)
tree83fef84c44eee7bf079c6bdcacf7b2ec139d0d0f /zebra/zebra_mpls_netlink.c
parentMerge pull request #7614 from donaldsharp/more_use_after_free (diff)
downloadfrr-b300c8bbcff94018fd0dce2ce19cdb830a673a4f.tar.xz
frr-b300c8bbcff94018fd0dce2ce19cdb830a673a4f.zip
zebra: dplane FPM handle LSP install/update/delete
Export netlink_lsp_msg_encoder() and use it to encode and send netlink messages concerning LSP updates to connected FPMs. Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
Diffstat (limited to 'zebra/zebra_mpls_netlink.c')
-rw-r--r--zebra/zebra_mpls_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_mpls_netlink.c b/zebra/zebra_mpls_netlink.c
index 3b2279c66..ce7702b82 100644
--- a/zebra/zebra_mpls_netlink.c
+++ b/zebra/zebra_mpls_netlink.c
@@ -28,8 +28,8 @@
#include "zebra/zebra_mpls.h"
#include "zebra/kernel_netlink.h"
-static ssize_t netlink_lsp_msg_encoder(struct zebra_dplane_ctx *ctx, void *buf,
- size_t buflen)
+ssize_t netlink_lsp_msg_encoder(struct zebra_dplane_ctx *ctx, void *buf,
+ size_t buflen)
{
int cmd;