mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 12:39:21 +00: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 nb_cb_create_args *args)
|
||||||
{
|
{
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
struct rtadv_rdnss rdnss = {0}, *p;
|
struct rtadv_rdnss rdnss = {{{{0}}}}, *p;
|
||||||
|
|
||||||
if (args->event != NB_EV_APPLY)
|
if (args->event != NB_EV_APPLY)
|
||||||
return NB_OK;
|
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 nb_cb_create_args *args)
|
||||||
{
|
{
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
struct rtadv_dnssl dnssl = {0}, *p;
|
struct rtadv_dnssl dnssl = {{0}}, *p;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
strlcpy(dnssl.name, yang_dnode_get_string(args->dnode, "domain"),
|
strlcpy(dnssl.name, yang_dnode_get_string(args->dnode, "domain"),
|
||||||
|
Loading…
Reference in New Issue
Block a user