summaryrefslogtreecommitdiffhomepage
path: root/server/rpki_test.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-02-22 09:51:07 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-02-23 14:40:48 +0900
commitaf84d6d79cec19209188f1f40d575b64aea23586 (patch)
treecb00fb3e6a16c884a8fd5d62b3341eeffe152f5f /server/rpki_test.go
parent77a3484a1223033065df7986987a7ad0b0043ab7 (diff)
zclient: Avoid directly access to RIB
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 <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server/rpki_test.go')
0 files changed, 0 insertions, 0 deletions