From 5ae7bd597ebcf41db191a6db943e63e35d8658d1 Mon Sep 17 00:00:00 2001 From: Hiroshi Yokoi Date: Wed, 1 Apr 2015 20:26:34 +0900 Subject: policy: remove continue --- policy/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'policy/policy.go') diff --git a/policy/policy.go b/policy/policy.go index 73ffc74d..bcbc5f82 100644 --- a/policy/policy.go +++ b/policy/policy.go @@ -66,7 +66,6 @@ func NewPolicy(name string, pd config.PolicyDefinition, ds config.DefinedSets) * "prefix": prefix, "msg": e, }).Warn("failed to generate a NewPrefix from configration.") - continue } prefixList = append(prefixList, prefix) } @@ -162,6 +161,7 @@ func (c *PrefixConditions) evaluatePrefix(path table.Path) bool { for _, cp := range c.PrefixList { if IpPrefixCalculate(path, cp) { + log.Debug("prefix matched : ",cp) return true } } -- cgit v1.2.3