summaryrefslogtreecommitdiff
path: root/pimd/pim_mlag.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-21 08:08:29 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-11-21 08:08:29 -0500
commit07b91ca0967fb898e4060367d485b85f965856e2 (patch)
treea19cca0d1c7d874a89735783660f495a56596f7b /pimd/pim_mlag.c
parent77ff93b8f5f714880dfe56ff01a57870fd2ed8b6 (diff)
*: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZ
INTERFACE_NAMSIZ is just a redefine of IFNAMSIZ and IFNAMSIZ is the standard for interface name length on all platforms that FRR currently compiles on. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_mlag.c')
-rw-r--r--pimd/pim_mlag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_mlag.c b/pimd/pim_mlag.c
index 5d72eb6581..dcef2d0d33 100644
--- a/pimd/pim_mlag.c
+++ b/pimd/pim_mlag.c
@@ -434,7 +434,7 @@ static void pim_mlag_up_local_add_send(struct pim_instance *pim,
stream_putc(s, !(PIM_UPSTREAM_FLAG_TEST_MLAG_NON_DF(up->flags)));
stream_putl(s, vrf->vrf_id);
/* XXX - this field is a No-op for VXLAN*/
- stream_put(s, NULL, INTERFACE_NAMSIZ);
+ stream_put(s, NULL, IFNAMSIZ);
stream_fifo_push_safe(router->mlag_fifo, s);
pim_mlag_signal_zpthread();
@@ -467,7 +467,7 @@ static void pim_mlag_up_local_del_send(struct pim_instance *pim,
stream_putl(s, MLAG_OWNER_VXLAN);
stream_putl(s, vrf->vrf_id);
/* XXX - this field is a No-op for VXLAN */
- stream_put(s, NULL, INTERFACE_NAMSIZ);
+ stream_put(s, NULL, IFNAMSIZ);
/* XXX - is this the the most optimal way to do things */
stream_fifo_push_safe(router->mlag_fifo, s);