diff options
Diffstat (limited to 'tools/config/example_toml.go')
-rw-r--r-- | tools/config/example_toml.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/config/example_toml.go b/tools/config/example_toml.go index 51ab4ae6..4988f648 100644 --- a/tools/config/example_toml.go +++ b/tools/config/example_toml.go @@ -75,12 +75,11 @@ func main() { func policy() config.RoutingPolicy { - _, prefix1, _ := net.ParseCIDR("10.3.192.0/21") ps := config.PrefixSet{ PrefixSetName: "ps1", PrefixList: []config.Prefix{ config.Prefix{ - IpPrefix: *prefix1, + IpPrefix: "10.3.192.0/21", MasklengthRange: "21..24", }}, } |