summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mroute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-22 14:16:27 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-22 17:55:22 +0100
commit7cf15b250181f0b108c6b9e1899d3bb4f933e836 (patch)
tree4cb61e03bf000ec6d490161df8babbc387fefba2 /zebra/zebra_mroute.c
parentlib, zebra: Rename and place appropriately the label stack (diff)
downloadfrr-7cf15b250181f0b108c6b9e1899d3bb4f933e836.tar.xz
frr-7cf15b250181f0b108c6b9e1899d3bb4f933e836.zip
zebra: use zclient_create_header
The function zserv_create_header was exactly the same as zclient_create_header. Let's just have one in the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mroute.c')
-rw-r--r--zebra/zebra_mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_mroute.c b/zebra/zebra_mroute.c
index 519c120a6..e9cd19ebe 100644
--- a/zebra/zebra_mroute.c
+++ b/zebra/zebra_mroute.c
@@ -61,7 +61,7 @@ stream_failure:
stream_reset(s);
- zserv_create_header(s, ZEBRA_IPMR_ROUTE_STATS, zvrf_id(zvrf));
+ zclient_create_header(s, ZEBRA_IPMR_ROUTE_STATS, zvrf_id(zvrf));
stream_put_in_addr(s, &mroute.sg.src);
stream_put_in_addr(s, &mroute.sg.grp);
stream_put(s, &mroute.lastused, sizeof(mroute.lastused));