diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-13 01:35:51 +0200 | 
|---|---|---|
| committer | ton31337 <3352707+ton31337@users.noreply.github.com> | 2024-03-13 07:08:44 +0000 | 
| commit | 3280d81cc989b0ba1771f613844a88d4cb94e14d (patch) | |
| tree | c70ed05a81a3dc1fc5b38247acb2a87f762db34e /zebra/zebra_nb_config.c | |
| parent | a3df790eb284de95db2b6a8ea384083c1bfdc5ea (diff) | |
zebra: fix compilation warnings
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'zebra/zebra_nb_config.c')
| -rw-r--r-- | zebra/zebra_nb_config.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_nb_config.c b/zebra/zebra_nb_config.c index 5cb9985ee4..04eac63d3e 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"),  | 
