diff options
Diffstat (limited to 'gobgpd')
-rw-r--r-- | gobgpd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |