diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-12 15:39:10 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 15:39:10 +0300 | 
| commit | 8dac2215ed49fbbf8781d59c78569ced2ab44c91 (patch) | |
| tree | 80e3610326aef6653deda7482cb9ab5914c00bf7 | |
| parent | 82dcb1d63e7366ee2b3bd1d6896f64369cbe4d4a (diff) | |
| parent | 49bc1b6c21e8da0da82746373a7257aeb2c9fa4a (diff) | |
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.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index c5b1e72380..1aab7b48ba 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);  | 
