diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-11-20 11:22:50 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-11-20 11:28:39 +0100 |
| commit | 03c4375a4ac2b7a9837b79ab7d0bd732595ded27 (patch) | |
| tree | b4852b6be074492f238f89c4deed02dd891ba794 /lib/zclient.c | |
| parent | 409a693165f039ad9b5b6b08443ab4147715f1cd (diff) | |
lib: make zapi_nexthop_update_decode private
zapi_nexthop_update_decode() is no longer called externally.
Also move the comment to zclient->nexthop_update where it now belongs.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zclient.c')
| -rw-r--r-- | lib/zclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index d76d6dbbdd..a52d092e3b 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -2269,8 +2269,8 @@ const char *zapi_nexthop2str(const struct zapi_nexthop *znh, char *buf, /* * Decode the nexthop-tracking update message */ -bool zapi_nexthop_update_decode(struct stream *s, struct prefix *match, - struct zapi_route *nhr) +static bool zapi_nexthop_update_decode(struct stream *s, struct prefix *match, + struct zapi_route *nhr) { uint32_t i; |
