summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-05-19 19:30:26 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-05-19 20:14:43 +0900
commitf91a3a61b48fb7a3aad6aac492d487fb72b32a34 (patch)
treef1244dbec6e795c3de599911d26913cb8b94b2b7 /server
parentcd4412ae538542ca7dc7f599bc30b7ac2b14fbb2 (diff)
policy: support aspath condition
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