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 63d71024..32c63bcc 100644 --- a/gobgpd/main.go +++ b/gobgpd/main.go @@ -225,7 +225,7 @@ func main() { log.Fatalf("failed to set mrt config: %s", err) } p := config.ConfigSetToRoutingPolicy(newConfig) - if err := bgpServer.SetRoutingPolicy(*p); err != nil { + if err := bgpServer.UpdatePolicy(*p); err != nil { log.Fatalf("failed to set routing policy: %s", err) } |