From 9675b047b1d0c995f2ba8f733811c3f7d94aed7f Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Mon, 16 May 2016 06:50:04 +0000 Subject: cli: fix med formating Signed-off-by: ISHIDA Wataru --- gobgp/cmd/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3