summaryrefslogtreecommitdiffhomepage
path: root/tools/config/example_toml.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/config/example_toml.go')
-rw-r--r--tools/config/example_toml.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/config/example_toml.go b/tools/config/example_toml.go
index 11ab2939..62e6b8f6 100644
--- a/tools/config/example_toml.go
+++ b/tools/config/example_toml.go
@@ -156,10 +156,7 @@ func policy() config.RoutingPolicy {
},
},
Actions: config.Actions{
- RouteDisposition: config.RouteDisposition{
- AcceptRoute: false,
- RejectRoute: true,
- },
+ RouteDisposition: "reject-route",
BgpActions: config.BgpActions{
SetCommunity: config.SetCommunity{
SetCommunityMethod: config.SetCommunityMethod{