summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-09-01 10:06:10 -0400
committerMark Stapp <mjs@labn.net>2023-09-01 10:06:10 -0400
commit7b8a4249ea9481ced4a5c29a7b5cacc0e3acb80d (patch)
tree00bf1649958cb472ffa12b2217a6f53cfec0aeab /zebra/zapi_msg.c
parent030d2f0b8bd671cac091f965b8c3925e879ba3b0 (diff)
lib,zebra: add tx queuelen to interface struct
Add the txqlen attribute to the common interface struct. Capture the value in zebra, and distribute it through the interface lib module's zapi messaging. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index f6afb006b7..6bed6d8727 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -71,6 +71,7 @@ static void zserv_encode_interface(struct stream *s, struct interface *ifp)
stream_putc(s, ifp->ptm_status);
stream_putl(s, ifp->metric);
stream_putl(s, ifp->speed);
+ stream_putl(s, ifp->txqlen);
stream_putl(s, ifp->mtu);
stream_putl(s, ifp->mtu6);
stream_putl(s, ifp->bandwidth);