summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmd/gobgp/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gobgp/policy.go b/cmd/gobgp/policy.go
index 05695878..551b3ba9 100644
--- a/cmd/gobgp/policy.go
+++ b/cmd/gobgp/policy.go
@@ -184,7 +184,7 @@ func formatDefinedSet(head bool, typ string, indent int, list []*api.DefinedSet)
buff.WriteString(fmt.Sprintf(format, s.GetName(), ""))
}
for i, x := range l {
- prefix := fmt.Sprintf("%s (%d - %d)", x.GetIpPrefix(), x.GetMaskLengthMin(), x.GetMaskLengthMax())
+ prefix := fmt.Sprintf("%s %d..%d", x.GetIpPrefix(), x.GetMaskLengthMin(), x.GetMaskLengthMax())
if i == 0 {
buff.WriteString(fmt.Sprintf(format, s.GetName(), prefix))
} else {