diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-08-10 20:02:29 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-11 07:13:49 +0900 |
commit | 54092b2703c6df26e40787696a9ac8afbacb5b5e (patch) | |
tree | a475f04ab0f460b10a5927d1b7b9b0be4d2f0e91 /test | |
parent | 331721e167b1d43213acf77f5c039b8b7b5c0c17 (diff) |
config: rename distributed-policy to in-policy
Diffstat (limited to 'test')
-rw-r--r-- | test/scenario_test/policy/policy_generator.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scenario_test/policy/policy_generator.go b/test/scenario_test/policy/policy_generator.go index af252031..4d94b470 100644 --- a/test/scenario_test/policy/policy_generator.go +++ b/test/scenario_test/policy/policy_generator.go @@ -47,12 +47,12 @@ func bindPolicy(outputDir, peer, target, policyName string, isReplace bool, defa } case "distribute": if isReplace { - ap.DistributePolicy = []string{policyName} + ap.InPolicy = []string{policyName} } else { - ap.DistributePolicy = append(ap.DistributePolicy, policyName) + ap.InPolicy = append(ap.InPolicy, policyName) } if defaultReject { - ap.DefaultDistributePolicy = 1 + ap.DefaultInPolicy = 1 } } newConf.Neighbors.NeighborList[idx] = neighbor |