Skip to content

Commit

Permalink
zebra: fix compilation warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Mar 13, 2024
1 parent c514e84 commit 6306402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zebra/zebra_nb_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 6306402

Please sign in to comment.