From 27ecbea30bdd1ddcddea4fcd2582902c1daf9712 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 18 Jan 2019 16:06:00 -0200 Subject: [PATCH] zebra: send link parameters to zclients once they request interface info We were sending ZEBRA_INTERFACE_LINK_PARAMS messages under the following circumstances: * New interface was created (via kernel or config); * Interface went from down to up; * Update in the link-params configuration. Now also send ZEBRA_INTERFACE_LINK_PARAMS messages whenever a zclient connects and sends a ZEBRA_INTERFACE_ADD request. Without this fix, the client daemons don't receive interface link parameters if they are configured in the zebra startup configuration. Signed-off-by: Renato Westphal --- zebra/zapi_msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index 100c9cfac0..d3994fd4a8 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -1324,6 +1324,7 @@ static void zread_interface_add(ZAPI_HANDLER_ARGS) continue; zsend_interface_add(client, ifp); + zsend_interface_link_params(client, ifp); zsend_interface_addresses(client, ifp); } } -- 2.39.5