diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-06-04 15:40:35 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-06-10 14:16:10 +0200 |
commit | d2ddc1416bd16e61d3e4c038025ffd9982d4c31c (patch) | |
tree | 5e0cdaaacddfdd61d5c70e1db7706a9417060bd0 /zebra/zebra_opaque.c | |
parent | Merge pull request #6546 from opensourcerouting/topofixes-2 (diff) | |
download | frr-d2ddc1416bd16e61d3e4c038025ffd9982d4c31c.tar.xz frr-d2ddc1416bd16e61d3e4c038025ffd9982d4c31c.zip |
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 'zebra/zebra_opaque.c')
-rw-r--r-- | zebra/zebra_opaque.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_opaque.c b/zebra/zebra_opaque.c index d1e049715..0b7c5b26b 100644 --- a/zebra/zebra_opaque.c +++ b/zebra/zebra_opaque.c @@ -460,7 +460,7 @@ static int handle_opq_registration(const struct zmsghdr *hdr, memset(&info, 0, sizeof(info)); - if (zapi_parse_opaque_reg(msg, &info) < 0) { + if (zapi_opaque_reg_decode(msg, &info) < 0) { ret = -1; goto done; } @@ -540,7 +540,7 @@ static int handle_opq_unregistration(const struct zmsghdr *hdr, memset(&info, 0, sizeof(info)); - if (zapi_parse_opaque_reg(msg, &info) < 0) { + if (zapi_opaque_reg_decode(msg, &info) < 0) { ret = -1; goto done; } |