diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-10-26 17:43:54 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 17:43:54 +0300 |
| commit | 4b8038015e3d40781d6bdaf61e68cc2d12e1b194 (patch) | |
| tree | 8b5cfecef870edce349fdcf7f336953e9d1f3664 /lib/zclient.c | |
| parent | 95bbb5e652d015eca6ab90c314d62b69c921b46e (diff) | |
| parent | 8563b9722ac7293b0cca4bc7d869943fef9a09c4 (diff) | |
Merge pull request #9886 from slankdev/fix-srv6-hardcode
lib: fix srv6 route hardcode with BGP
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 90439d5e17..e9a020df13 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -450,7 +450,7 @@ enum zclient_send_status zclient_send_localsid(struct zclient *zclient, p.prefix = *sid; api.vrf_id = VRF_DEFAULT; - api.type = ZEBRA_ROUTE_BGP; + api.type = zclient->redist_default; api.instance = 0; api.safi = SAFI_UNICAST; memcpy(&api.prefix, &p, sizeof(p)); |
