summaryrefslogtreecommitdiffstats
path: root/zebra/label_manager.h
diff options
context:
space:
mode:
authorFredi Raspall <fredi@voltanet.io>2018-04-25 12:18:10 +0200
committerFredi Raspall <fredi@voltanet.io>2018-04-27 20:10:39 +0200
commit881999e64fcf1cf7bac65a74bcc4a6ed7cfdbbbe (patch)
tree5cdcf1c364674df2dc49f19ea49d251621e305cb /zebra/label_manager.h
parentMerge pull request #2110 from msablic/pim_mtrace_group (diff)
downloadfrr-881999e64fcf1cf7bac65a74bcc4a6ed7cfdbbbe.tar.xz
frr-881999e64fcf1cf7bac65a74bcc4a6ed7cfdbbbe.zip
zebra: fix broken label manager proxy mode.
In a prior refactor, label manager proxy functionality was broken in two places: 1) in function relay_response_back(), "dst" stream was accidentally replaced by "src". 2) in zread_relay_label_manager_request(), src was set to point to a global struct stream *ibuf that was not used/initialized anywhere. Signed-off-by: Fredi Raspall <fredi@voltanet.io>
Diffstat (limited to 'zebra/label_manager.h')
-rw-r--r--zebra/label_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/label_manager.h b/zebra/label_manager.h
index b99837222..37d5e25ab 100644
--- a/zebra/label_manager.h
+++ b/zebra/label_manager.h
@@ -64,7 +64,7 @@ struct label_manager {
bool lm_is_external;
int zread_relay_label_manager_request(int cmd, struct zserv *zserv,
- vrf_id_t vrf_id);
+ struct stream *msg, vrf_id_t vrf_id);
void label_manager_init(char *lm_zserv_path);
struct label_manager_chunk *assign_label_chunk(uint8_t proto,
unsigned short instance,