diff options
Diffstat (limited to 'tools/config/example_toml.go')
-rw-r--r-- | tools/config/example_toml.go | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/config/example_toml.go b/tools/config/example_toml.go index 01999f21..11ab2939 100644 --- a/tools/config/example_toml.go +++ b/tools/config/example_toml.go @@ -23,8 +23,16 @@ func main() { NeighborAddress: "192.168.177.33", }, AfiSafis: []config.AfiSafi{ - config.AfiSafi{AfiSafiName: "ipv4-unicast"}, - config.AfiSafi{AfiSafiName: "ipv6-unicast"}, + config.AfiSafi{ + Config: config.AfiSafiConfig{ + AfiSafiName: "ipv4-unicast", + }, + }, + config.AfiSafi{ + Config: config.AfiSafiConfig{ + AfiSafiName: "ipv6-unicast", + }, + }, }, ApplyPolicy: config.ApplyPolicy{ |