summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 4de42a35bb..03d0485f90 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -769,7 +769,8 @@ bool zapi_iptable_notify_decode(struct stream *s,
uint32_t *unique,
enum zapi_iptable_notify_owner *note);
-extern struct nexthop *nexthop_from_zapi_nexthop(struct zapi_nexthop *znh);
+extern struct nexthop *nexthop_from_zapi_nexthop(
+ const struct zapi_nexthop *znh);
int zapi_nexthop_from_nexthop(struct zapi_nexthop *znh,
const struct nexthop *nh);
extern bool zapi_nexthop_update_decode(struct stream *s,