summaryrefslogtreecommitdiff
path: root/lib/nexthop.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 5b6c12d4ef..ada7317a58 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -152,6 +152,8 @@ extern const char *nexthop2str(const struct nexthop *nexthop,
char *str, int size);
extern struct nexthop *nexthop_next(struct nexthop *nexthop);
extern unsigned int nexthop_level(struct nexthop *nexthop);
+extern void nexthop_copy(struct nexthop *copy, const struct nexthop *nexthop,
+ struct nexthop *rparent);
#ifdef __cplusplus
}