summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-05-16 06:50:04 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-16 16:31:01 +0900
commit9675b047b1d0c995f2ba8f733811c3f7d94aed7f (patch)
treef58cb53a0590651b5ccabd795a478915f5ef7aa4
parentb8f61bd749fc7419c366dc593e521d687c35c650 (diff)
cli: fix med formating
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r--gobgp/cmd/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobgp/cmd/policy.go b/gobgp/cmd/policy.go
index 071fe0ef..b53ee803 100644
--- a/gobgp/cmd/policy.go
+++ b/gobgp/cmd/policy.go
@@ -452,7 +452,7 @@ func printStatement(indent int, s *api.Statement) {
fmt.Printf("%sExtCommunity: %s\n", sIndent(indent+4), formatComAction(s.Actions.ExtCommunity))
}
if s.Actions.Med != nil {
- fmt.Printf("%sMed: %s\n", sIndent(indent+4), s.Actions.Med.Value)
+ fmt.Printf("%sMed: %d\n", sIndent(indent+4), s.Actions.Med.Value)
}
if s.Actions.AsPrepend != nil {
var asn string