diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gobgpd/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gobgpd/main.go b/cmd/gobgpd/main.go index b87c478d..23e7ec96 100644 --- a/cmd/gobgpd/main.go +++ b/cmd/gobgpd/main.go @@ -269,7 +269,7 @@ func main() { } } p := config.ConfigSetToRoutingPolicy(newConfig) - rp, err := server.NewAPIRoutingPolicyFromConfigStruct(p) + rp, err := table.NewAPIRoutingPolicyFromConfigStruct(p) if err != nil { log.Warn(err) } else { @@ -297,7 +297,7 @@ func main() { if updatePolicy { log.Info("Policy config is updated") p := config.ConfigSetToRoutingPolicy(newConfig) - rp, err := server.NewAPIRoutingPolicyFromConfigStruct(p) + rp, err := table.NewAPIRoutingPolicyFromConfigStruct(p) if err != nil { log.Warn(err) } else { |