]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix srv6 route hardcode with BGP 9901/head
authorHiroki Shirokura <hiroki.shirokura@linecorp.com>
Mon, 25 Oct 2021 23:36:14 +0000 (23:36 +0000)
committermergify-bot <noreply@mergify.io>
Tue, 26 Oct 2021 14:44:35 +0000 (14:44 +0000)
commita860b3e9e3a59d1b329f40700b44e64779d0d9ae
treeafc02495cd60ebff097c502cb3827e04068c5a7b
parent3a16e6a9950b89be39c76ac6642bb44d57ed4141
lib: fix srv6 route hardcode with BGP

zclient_send_localsid is called by various routing protocol daemons. To set the
srv6 endpoint function. Fix a hard-coded error in the initial implementation.
Before this PR, the srv6 function will be registered to zebra as a BGP route
even if isisd executes zclient_send_localsid.

Signed-off-by: Hiroki Shirokura <hiroki.shirokura@linecorp.com>
(cherry picked from commit 8563b9722ac7293b0cca4bc7d869943fef9a09c4)
lib/zclient.c