diff options
Diffstat (limited to 'test/scenario_test/policy')
-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) |