summaryrefslogtreecommitdiffhomepage
path: root/gobgpd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'gobgpd/main.go')
-rw-r--r--gobgpd/main.go2
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)
}