mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #15538 from idryzhov/fix-zebra-warning
zebra: fix compilation warnings
This commit is contained in:
commit
4b512f2f07
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue