mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
Merge pull request #9886 from slankdev/fix-srv6-hardcode
lib: fix srv6 route hardcode with BGP
This commit is contained in:
commit
4b8038015e
@ -450,7 +450,7 @@ enum zclient_send_status zclient_send_localsid(struct zclient *zclient,
|
|||||||
p.prefix = *sid;
|
p.prefix = *sid;
|
||||||
|
|
||||||
api.vrf_id = VRF_DEFAULT;
|
api.vrf_id = VRF_DEFAULT;
|
||||||
api.type = ZEBRA_ROUTE_BGP;
|
api.type = zclient->redist_default;
|
||||||
api.instance = 0;
|
api.instance = 0;
|
||||||
api.safi = SAFI_UNICAST;
|
api.safi = SAFI_UNICAST;
|
||||||
memcpy(&api.prefix, &p, sizeof(p));
|
memcpy(&api.prefix, &p, sizeof(p));
|
||||||
|
Loading…
Reference in New Issue
Block a user