summaryrefslogtreecommitdiffhomepage
path: root/policy/policy.go
diff options
context:
space:
mode:
Diffstat (limited to 'policy/policy.go')
-rw-r--r--policy/policy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy/policy.go b/policy/policy.go
index bcbc5f82..9dc3632e 100644
--- a/policy/policy.go
+++ b/policy/policy.go
@@ -29,7 +29,7 @@ import (
type RouteType int
const (
- ROUTE_TYPE_NONE = iota
+ ROUTE_TYPE_NONE RouteType = iota
ROUTE_TYPE_ACCEPT
ROUTE_TYPE_REJECT
)
@@ -161,7 +161,7 @@ func (c *PrefixConditions) evaluatePrefix(path table.Path) bool {
for _, cp := range c.PrefixList {
if IpPrefixCalculate(path, cp) {
- log.Debug("prefix matched : ",cp)
+ log.Debug("prefix matched : ", cp)
return true
}
}