summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-10 16:03:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-10 16:03:04 +0900
commitd34f4d81662ffc9df4b5dead8e5581fd0e4c21db (patch)
tree0d54e27621774cde2b8956fa938fe2aa7b1b4b9c
parentc076fbfe698edb348d66ef06aac58da02bdff266 (diff)
policy: kill unused code
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--policy/policy.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/policy/policy.go b/policy/policy.go
index 21bae110..259712ec 100644
--- a/policy/policy.go
+++ b/policy/policy.go
@@ -387,15 +387,6 @@ type AsPathCondition struct {
MatchOption config.MatchSetOptionsType
}
-type AsnPos int
-
-const (
- AS_FROM AsnPos = iota
- AS_ANY
- AS_ORIGIN
- AS_ONLY
-)
-
const (
ASPATH_REGEXP_MAGIC = "(^|[,{}() ]|$)"
)