mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:06:09 +00:00
zebra: fix compile error of missing-braces
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
124f7236fb
commit
361a62ac9d
@ -475,7 +475,7 @@ parse_nexthop_unicast(ns_id_t ns_id, struct rtmsg *rtm, struct rtattr **tb,
|
||||
int num_labels = 0;
|
||||
enum seg6local_action_t seg6l_act = SEG6_LOCAL_ACTION_UNSPEC;
|
||||
struct seg6local_context seg6l_ctx = { {0} };
|
||||
struct in6_addr seg6_segs = {0};
|
||||
struct in6_addr seg6_segs = { .s6_addr = {0} };
|
||||
int num_segs = 0;
|
||||
|
||||
vrf_id_t nh_vrf_id = vrf_id;
|
||||
@ -557,7 +557,7 @@ static uint8_t parse_multipath_nexthops_unicast(ns_id_t ns_id,
|
||||
int num_labels = 0;
|
||||
enum seg6local_action_t seg6l_act = SEG6_LOCAL_ACTION_UNSPEC;
|
||||
struct seg6local_context seg6l_ctx = { {0} };
|
||||
struct in6_addr seg6_segs = {0};
|
||||
struct in6_addr seg6_segs = { .s6_addr = {0} };
|
||||
int num_segs = 0;
|
||||
struct rtattr *rtnh_tb[RTA_MAX + 1] = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user