From 6cd9a93dddba199e68c73baca62337b704f32e14 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 24 Sep 2021 16:13:04 -0400 Subject: zebra: Attempt to clarify variable names as they are used Cleanup the poorly implemented variable names so that we can understand what is going on a bit better. Signed-off-by: Donald Sharp --- lib/zclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/zclient.c') diff --git a/lib/zclient.c b/lib/zclient.c index 96c3d67ba8..6f863c5ea6 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -765,7 +765,7 @@ static int zclient_connect(struct thread *t) enum zclient_send_status zclient_send_rnh(struct zclient *zclient, int command, const struct prefix *p, - bool exact_match, + bool connected, bool resolve_via_def, vrf_id_t vrf_id) { struct stream *s; @@ -773,7 +773,7 @@ enum zclient_send_status zclient_send_rnh(struct zclient *zclient, int command, s = zclient->obuf; stream_reset(s); zclient_create_header(s, command, vrf_id); - stream_putc(s, (exact_match) ? 1 : 0); + stream_putc(s, (connected) ? 1 : 0); stream_putc(s, (resolve_via_def) ? 1 : 0); stream_putw(s, PREFIX_FAMILY(p)); stream_putc(s, p->prefixlen); -- cgit v1.2.3