summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorHiroki Shirokura <slank.dev@gmail.com>2021-03-22 02:24:06 +0000
committerMark Stapp <mjs@voltanet.io>2021-06-02 10:24:48 -0400
commit7b778857f8340df730b1b26844a11c09eb7dc451 (patch)
treee11d798038b9fb067c0c763b73cc444cbe6a13e8 /lib/zclient.c
parenta9510347aa9126fbbca09679a170b10c63ef851c (diff)
zebra: drop un-needed info in locator-zapi
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index de3aed46e9..4d8fbdf157 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -2762,12 +2762,6 @@ int srv6_manager_get_locator_chunk(struct zclient *zclient,
zclient_create_header(s, ZEBRA_SRV6_MANAGER_GET_LOCATOR_CHUNK,
VRF_DEFAULT);
- /* proto */
- stream_putc(s, zclient->redist_default);
-
- /* instance */
- stream_putw(s, zclient->instance);
-
/* locator_name */
stream_putw(s, len);
stream_put(s, locator_name, len);
@@ -2803,12 +2797,6 @@ int srv6_manager_release_locator_chunk(struct zclient *zclient,
zclient_create_header(s, ZEBRA_SRV6_MANAGER_RELEASE_LOCATOR_CHUNK,
VRF_DEFAULT);
- /* proto */
- stream_putc(s, zclient->redist_default);
-
- /* instance */
- stream_putw(s, zclient->instance);
-
/* locator_name */
stream_putw(s, len);
stream_put(s, locator_name, len);