mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +00:00
zebra: fix implicit conversion
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
0548592691
commit
b9596f139b
@ -473,7 +473,7 @@ parse_nexthop_unicast(ns_id_t ns_id, struct rtmsg *rtm, struct rtattr **tb,
|
|||||||
struct nexthop nh = {0};
|
struct nexthop nh = {0};
|
||||||
mpls_label_t labels[MPLS_MAX_LABELS] = {0};
|
mpls_label_t labels[MPLS_MAX_LABELS] = {0};
|
||||||
int num_labels = 0;
|
int num_labels = 0;
|
||||||
enum seg6local_action_t seg6l_act = SEG6_LOCAL_ACTION_UNSPEC;
|
enum seg6local_action_t seg6l_act = ZEBRA_SEG6_LOCAL_ACTION_UNSPEC;
|
||||||
struct seg6local_context seg6l_ctx = {};
|
struct seg6local_context seg6l_ctx = {};
|
||||||
struct in6_addr seg6_segs = {};
|
struct in6_addr seg6_segs = {};
|
||||||
int num_segs = 0;
|
int num_segs = 0;
|
||||||
@ -555,7 +555,7 @@ static uint8_t parse_multipath_nexthops_unicast(ns_id_t ns_id,
|
|||||||
/* MPLS labels */
|
/* MPLS labels */
|
||||||
mpls_label_t labels[MPLS_MAX_LABELS] = {0};
|
mpls_label_t labels[MPLS_MAX_LABELS] = {0};
|
||||||
int num_labels = 0;
|
int num_labels = 0;
|
||||||
enum seg6local_action_t seg6l_act = SEG6_LOCAL_ACTION_UNSPEC;
|
enum seg6local_action_t seg6l_act = ZEBRA_SEG6_LOCAL_ACTION_UNSPEC;
|
||||||
struct seg6local_context seg6l_ctx = {};
|
struct seg6local_context seg6l_ctx = {};
|
||||||
struct in6_addr seg6_segs = {};
|
struct in6_addr seg6_segs = {};
|
||||||
int num_segs = 0;
|
int num_segs = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user