summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/zclient.go2
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.")