diff options
Diffstat (limited to 'zebra/zapi_msg.c')
| -rw-r--r-- | zebra/zapi_msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index f6151463ce..06aaa706dc 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -1748,7 +1748,7 @@ static bool zapi_read_nexthops(struct zserv *client, struct prefix *p, &api_nh->labels[0]); } - if (CHECK_FLAG(flags, ZEBRA_FLAG_SEG6LOCAL_ROUTE) + if (CHECK_FLAG(api_nh->flags, ZAPI_NEXTHOP_FLAG_SEG6LOCAL) && api_nh->type != NEXTHOP_TYPE_BLACKHOLE) { if (IS_ZEBRA_DEBUG_RECV) zlog_debug("%s: adding seg6local action %s", @@ -1761,7 +1761,7 @@ static bool zapi_read_nexthops(struct zserv *client, struct prefix *p, &api_nh->seg6local_ctx); } - if (CHECK_FLAG(flags, ZEBRA_FLAG_SEG6_ROUTE) + if (CHECK_FLAG(api_nh->flags, ZAPI_NEXTHOP_FLAG_SEG6) && api_nh->type != NEXTHOP_TYPE_BLACKHOLE) { if (IS_ZEBRA_DEBUG_RECV) zlog_debug("%s: adding seg6", __func__); |
