summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
committervivek <vivek@cumulusnetworks.com>2018-03-06 22:19:24 +0000
commitbfd498f0dab9a1937c6036cd35ed020b64a69e8f (patch)
treedfb478c984f1aeb74f0c35c9c7b8b11577cb9833 /zebra/zebra_rnh.c
parent558283638bb50ff24ea28bab89c1bb4c89ccc3dd (diff)
parentdefd0965f4a85a392e29032f712617e3c617596d (diff)
Merge branch 'master' of https://github.com/frrouting/frr into evpn-ipv6-tenant-routing
Conflicts: zebra/zserv.c
Diffstat (limited to 'zebra/zebra_rnh.c')
-rw-r--r--zebra/zebra_rnh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c
index 9fc5afff0f..d960dbd937 100644
--- a/zebra/zebra_rnh.c
+++ b/zebra/zebra_rnh.c
@@ -1019,6 +1019,8 @@ static int send_client(struct rnh *rnh, struct zserv *client, rnh_type_t type,
break;
}
if (re) {
+ stream_putc(s, re->type);
+ stream_putw(s, re->instance);
stream_putc(s, re->distance);
stream_putl(s, re->metric);
num = 0;
@@ -1054,6 +1056,8 @@ static int send_client(struct rnh *rnh, struct zserv *client, rnh_type_t type,
}
stream_putc_at(s, nump, num);
} else {
+ stream_putc(s, 0); // type
+ stream_putw(s, 0); // instance
stream_putc(s, 0); // distance
stream_putl(s, 0); // metric
stream_putc(s, 0); // nexthops