summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index 4f8bdfc6..cff4dbb2 100644
--- a/server/server.go
+++ b/server/server.go
@@ -260,7 +260,7 @@ func (server *BgpServer) SetPolicy(pl config.RoutingPolicy) {
pMap := make(map[string]*policy.Policy)
df := pl.DefinedSets
for _, p := range pl.PolicyDefinitionList {
- pMap[p.Name] = policy.NewPolicy(p.Name, p, df)
+ pMap[p.Name] = policy.NewPolicy(p, df)
}
server.policyMap = pMap
server.routingPolicy = pl