From d0c389bcbddbe10364aafaf140f3fccefe496f87 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Wed, 13 Mar 2024 01:35:51 +0200 Subject: [PATCH] zebra: fix compilation warnings Signed-off-by: Igor Ryzhov --- zebra/zebra_nb_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra/zebra_nb_config.c b/zebra/zebra_nb_config.c index 5cb9985ee4b5..04eac63d3eeb 100644 --- a/zebra/zebra_nb_config.c +++ b/zebra/zebra_nb_config.c @@ -3102,7 +3102,7 @@ int lib_interface_zebra_ipv6_router_advertisements_rdnss_rdnss_address_create( struct nb_cb_create_args *args) { struct interface *ifp; - struct rtadv_rdnss rdnss = {0}, *p; + struct rtadv_rdnss rdnss = {{{{0}}}}, *p; if (args->event != NB_EV_APPLY) return NB_OK; @@ -3181,7 +3181,7 @@ int lib_interface_zebra_ipv6_router_advertisements_dnssl_dnssl_domain_create( struct nb_cb_create_args *args) { struct interface *ifp; - struct rtadv_dnssl dnssl = {0}, *p; + struct rtadv_dnssl dnssl = {{0}}, *p; int ret; strlcpy(dnssl.name, yang_dnode_get_string(args->dnode, "domain"),