diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-06-26 18:10:16 +0900 |
---|---|---|
committer | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-07-01 14:26:35 +0900 |
commit | 046d96de655f2c75a43038ab75b78df93d031450 (patch) | |
tree | 8c37e859c8716ad288a1c67051c9da9fecd024fa /test/scenario_test/policy/policy_generator.go | |
parent | d45e2c9dfafb78001dd3b17fe42c1eb822bff3e9 (diff) |
server: gofmt
Diffstat (limited to 'test/scenario_test/policy/policy_generator.go')
-rw-r--r-- | test/scenario_test/policy/policy_generator.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/scenario_test/policy/policy_generator.go b/test/scenario_test/policy/policy_generator.go index a4f70d0e..0d6b433c 100644 --- a/test/scenario_test/policy/policy_generator.go +++ b/test/scenario_test/policy/policy_generator.go @@ -489,7 +489,7 @@ func createPolicyConfig() *config.RoutingPolicy { st_distribute_accept := config.Statement{ Name: "st_distriibute_accept", Conditions: config.Conditions{ - MatchPrefixSet: "ps6", + MatchPrefixSet: "ps6", MatchSetOptions: config.MATCH_SET_OPTIONS_TYPE_ALL, }, Actions: config.Actions{ @@ -497,7 +497,6 @@ func createPolicyConfig() *config.RoutingPolicy { }, } - st_distribute_comm_add := config.Statement{ Name: "st_distribute_comm_add", Conditions: config.Conditions{ @@ -727,7 +726,7 @@ func main() { Target string `short:"t" long:"target" description:"target such as export or import to which add policy"` PolicyName string `short:"p" long:"policy" description:"policy name bound to peer"` Replace bool `short:"r" long:"replace" description:"Replace existing policy with new one" default:"false"` - Reject bool `short:"j" long:"reject" description:"Set default policy reject" default:"false"` + Reject bool `short:"j" long:"reject" description:"Set default policy reject" default:"false"` } parser := flags.NewParser(&opts, flags.Default) |