From f91a3a61b48fb7a3aad6aac492d487fb72b32a34 Mon Sep 17 00:00:00 2001 From: Hiroshi Yokoi Date: Tue, 19 May 2015 19:30:26 +0900 Subject: policy: support aspath condition --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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 -- cgit v1.2.3