summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-09-24 16:13:04 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-27 12:38:08 -0400
commit6cd9a93dddba199e68c73baca62337b704f32e14 (patch)
tree89dc6de58cc36c2d364c5fd08d89aa75e0d8267b /lib/zclient.c
parent93f533c3085f75ae1bf6b6b1604cfa211399c364 (diff)
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 <sharpd@nvidia.com>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c4
1 files changed, 2 insertions, 2 deletions
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);