diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-06-04 09:40:35 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-06-10 08:16:10 -0400 |
| commit | d2ddc1416bd16e61d3e4c038025ffd9982d4c31c (patch) | |
| tree | 5e0cdaaacddfdd61d5c70e1db7706a9417060bd0 /lib/zclient.c | |
| parent | bdabd4b958c5e769b243a548e0213b15bc05ca58 (diff) | |
lib,zebra: rename opaque decode api
Change name of an opaque zapi api to 'decode' to align with the
other zapi message parsing apis. Missed that in the original
opaque commits.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 9b1ff7237f..4297bf16a6 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -3204,9 +3204,9 @@ int zclient_unregister_opaque(struct zclient *zclient, uint32_t type) return ret; } -/* Utility to parse opaque registration info */ -int zapi_parse_opaque_reg(struct stream *s, - struct zapi_opaque_reg_info *info) +/* Utility to decode opaque registration info */ +int zapi_opaque_reg_decode(struct stream *s, + struct zapi_opaque_reg_info *info) { STREAM_GETL(s, info->type); STREAM_GETC(s, info->proto); |
