summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-04-04 15:58:11 +0200
committerGitHub <noreply@github.com>2017-04-04 15:58:11 +0200
commit2e310ba9c3899eef7a7b1db78bb7fcde3741af57 (patch)
treef9d5c9d1e994c36f03d3642bceb7b27a130615fe /lib/zclient.c
parent3e11c0078956b1baa5d7c6cd1e65559c3f1793df (diff)
parent97d2cd8d0c54279407cef16f070231912ef85a00 (diff)
Merge pull request #321 from donaldsharp/speed
Speedy McSpeederson
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 4455644345..71b95ae7db 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -1003,6 +1003,8 @@ zebra_router_id_update_read (struct stream *s, struct prefix *rid)
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
* | metric |
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ * | speed |
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
* | ifmtu |
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
* | ifmtu6 |
@@ -1185,6 +1187,7 @@ zebra_interface_if_set_value (struct stream *s, struct interface *ifp)
ifp->ptm_enable = stream_getc (s);
ifp->ptm_status = stream_getc (s);
ifp->metric = stream_getl (s);
+ ifp->speed = stream_getl (s);
ifp->mtu = stream_getl (s);
ifp->mtu6 = stream_getl (s);
ifp->bandwidth = stream_getl (s);