diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-09-01 11:12:31 +0900 |
---|---|---|
committer | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-09-01 19:42:02 +0900 |
commit | 459e5957f2450f6833f1314d782b144ad6289aca (patch) | |
tree | a0d01fa4365d4126526cd0ab31dc82c703813b4c /server | |
parent | cc51c48a4934bde8f5a5555632633c3c8486b797 (diff) |
zebra: show metric and distance
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'server')
-rw-r--r-- | server/zclient.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/zclient.go b/server/zclient.go index ab163b37..48485242 100644 --- a/server/zclient.go +++ b/server/zclient.go @@ -108,6 +108,8 @@ func createPathFromIPRouteMessage(m *zebra.Message, peerInfo *table.PeerInfo) *t "Prefix": body.Prefix, "PrefixLength": body.PrefixLength, "Nexthop": body.Nexthops, + "Metric": body.Metric, + "Distance": body.Distance, "api": header.Command.String(), }).Debugf("create path from ip route message.") |