diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-06 07:35:50 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-08 11:14:05 +0200 |
| commit | 689f5a8c84b95dbd31ecab481f8f2977965fe741 (patch) | |
| tree | 7c2a2b69908b3c3ac60e0de41b5a3f85caec2ef5 /tests/test_lblmgr.c | |
| parent | 00857b241e6c27efad54a19b4226c37f04d80bf5 (diff) | |
*: remove --enable-tcp-zebra, rework ZAPI path
This adds "@tcp" as new choice on the -z option present in zebra and the
protocol daemons. The --enable-tcp-zebra option on configure is no
longer needed, both UNIX and TCP socket support is always available.
Note that @tcp should not be used by default (e.g. in an init script),
and --enable-tcp-zebra should never have been in any distro package
builds, because
**** TCP-ZEBRA IS A SECURITY PROBLEM ****
It allows arbitrary local users to mess with the routing table and
inject bogus data -- and also ZAPI is not designed to be robust against
attacks.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/test_lblmgr.c')
| -rw-r--r-- | tests/test_lblmgr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_lblmgr.c b/tests/test_lblmgr.c index afc5ba6630..5e604db61a 100644 --- a/tests/test_lblmgr.c +++ b/tests/test_lblmgr.c @@ -113,8 +113,7 @@ static int zebra_send_release_label_chunk(uint32_t start, uint32_t end) void init_zclient(struct thread_master *master, char *lm_zserv_path) { - if (lm_zserv_path) - zclient_serv_path_set(lm_zserv_path); + frr_zclient_addr(&zclient_addr, &zclient_addr_len, lm_zserv_path); zclient = zclient_new(master); /* zclient_init(zclient, ZEBRA_LABEL_MANAGER, 0); */ |
