summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-10-21 11:43:06 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-10-21 11:43:06 +0900
commit06e15e3490be18bc23ea3c337a389739a5e7db2f (patch)
treed6b74eb2bcca78f0472ded3cc0795cb92fdf01d6
parent3462023cf05939de527aad7bc26da6de1351ed4a (diff)
tools: add field keys
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
-rw-r--r--tools/config/example_toml.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/config/example_toml.go b/tools/config/example_toml.go
index 4988f648..877f9b51 100644
--- a/tools/config/example_toml.go
+++ b/tools/config/example_toml.go
@@ -95,21 +95,21 @@ func policy() config.RoutingPolicy {
cs := config.CommunitySet{
CommunitySetName: "community1",
CommunityList: []config.Community{
- config.Community{"65100:10"},
+ config.Community{Community: "65100:10"},
},
}
ecs := config.ExtCommunitySet{
ExtCommunitySetName: "ecommunity1",
ExtCommunityList: []config.ExtCommunity{
- config.ExtCommunity{"RT:65001:200"},
+ config.ExtCommunity{ExtCommunity: "RT:65001:200"},
},
}
as := config.AsPathSet{
AsPathSetName: "aspath1",
AsPathList: []config.AsPath{
- config.AsPath{"^65100"},
+ config.AsPath{AsPath: "^65100"},
},
}