diff options
author | Hiroki Shirokura <slank.dev@gmail.com> | 2021-03-22 10:28:32 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2021-06-02 16:24:48 +0200 |
commit | b9596f139b73929a57c796681f450dfbb7621947 (patch) | |
tree | fe75dd093310ed609579de1c55938a6f1d33143c /zebra | |
parent | *: eliminate redundant info from srv6 locator zapi (diff) | |
download | frr-b9596f139b73929a57c796681f450dfbb7621947.tar.xz frr-b9596f139b73929a57c796681f450dfbb7621947.zip |
zebra: fix implicit conversion
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/rt_netlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 70db6234b..acd545a56 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -473,7 +473,7 @@ parse_nexthop_unicast(ns_id_t ns_id, struct rtmsg *rtm, struct rtattr **tb, struct nexthop nh = {0}; mpls_label_t labels[MPLS_MAX_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 in6_addr seg6_segs = {}; int num_segs = 0; @@ -555,7 +555,7 @@ static uint8_t parse_multipath_nexthops_unicast(ns_id_t ns_id, /* MPLS labels */ mpls_label_t labels[MPLS_MAX_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 in6_addr seg6_segs = {}; int num_segs = 0; |