summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-06-12 14:39:10 +0200
committerGitHub <noreply@github.com>2024-06-12 14:39:10 +0200
commit8dac2215ed49fbbf8781d59c78569ced2ab44c91 (patch)
tree80e3610326aef6653deda7482cb9ab5914c00bf7
parentMerge pull request #16190 from trots/master (diff)
parentlib: fix copy srte_color from zapi_nexthop structure (diff)
downloadfrr-base_10.1.tar.xz
frr-base_10.1.zip
Merge pull request #16191 from pguibert6WIND/srte_color_not_copiedbase_10.1
lib: fix copy srte_color from zapi_nexthop structure
-rw-r--r--lib/zclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index c5b1e7238..1aab7b48b 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -2174,6 +2174,7 @@ int zapi_nexthop_from_nexthop(struct zapi_nexthop *znh,
znh->weight = nh->weight;
znh->ifindex = nh->ifindex;
znh->gate = nh->gate;
+ znh->srte_color = nh->srte_color;
if (CHECK_FLAG(nh->flags, NEXTHOP_FLAG_ONLINK))
SET_FLAG(znh->flags, ZAPI_NEXTHOP_FLAG_ONLINK);