]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix srv6 route hardcode with BGP
authorHiroki Shirokura <hiroki.shirokura@linecorp.com>
Mon, 25 Oct 2021 23:36:14 +0000 (23:36 +0000)
committerHiroki Shirokura <hiroki.shirokura@linecorp.com>
Mon, 25 Oct 2021 23:38:42 +0000 (23:38 +0000)
commit8563b9722ac7293b0cca4bc7d869943fef9a09c4
treeb823282ddaf9e9f6f6f9991ad51c32cae731cbb1
parent6f2e32ee419cba1ae73a3223fcb8066fb4f18fb7
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>
lib/zclient.c