Skip to content

Commit

Permalink
Merge pull request FRRouting#15538 from idryzhov/fix-zebra-warning
Browse files Browse the repository at this point in the history
zebra: fix compilation warnings
  • Loading branch information
ton31337 authored Mar 14, 2024
2 parents d1d79f4 + 3280d81 commit 4b512f2
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 4b512f2

Please sign in to comment.