mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
In order to avoid races, zclient should not access to RIB without calling APIs of BgpServer. But currently zclient directly accesses to the global RIB when handling NEXTHO_UPDATE messages. This patch fixes this problem by calling BgpServer.GetRib(). Signed-off-by: IWASE Yusuke <[email protected]>