From a719a3de6e8b2bb7803e02e7e05ea8e854d6f396 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Sun, 29 Nov 2015 04:08:36 +0900 Subject: server/table: use only one rib for multiple route server clients speed up and reduce memory footprint Signed-off-by: ISHIDA Wataru --- gobgpd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gobgpd/main.go') diff --git a/gobgpd/main.go b/gobgpd/main.go index 9466e622..8d0dcf58 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -204,7 +204,7 @@ func main() { // allocated before the above // SetPolicy. But this should be // handled more cleanly. - if err := bgpServer.SetPolicy(newConfig.Policy); err != nil { + if err := bgpServer.SetRoutingPolicy(newConfig.Policy); err != nil { log.Fatal(err) } } else { -- cgit v1.2.3