summaryrefslogtreecommitdiff
path: root/lib/nexthop_group.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-02-25 08:26:38 -0500
committerMark Stapp <mjs@voltanet.io>2020-02-25 08:26:38 -0500
commitc13bfa74357bdcb719a648b18019dd1151191c10 (patch)
treecd7b5d382f56a58c2143127acf26b9db1828d760 /lib/nexthop_group.h
parentac74a3f266de8224bd46ce8bcb481269dd3fa9ac (diff)
lib: use const in nexthop_group copy api
Add some const to the nhg copy api. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/nexthop_group.h')
-rw-r--r--lib/nexthop_group.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nexthop_group.h b/lib/nexthop_group.h
index 73b020283a..f99a53f694 100644
--- a/lib/nexthop_group.h
+++ b/lib/nexthop_group.h
@@ -43,7 +43,7 @@ struct nexthop_group *nexthop_group_new(void);
void nexthop_group_delete(struct nexthop_group **nhg);
void nexthop_group_copy(struct nexthop_group *to,
- struct nexthop_group *from);
+ const struct nexthop_group *from);
/*
* Copy a list of nexthops in 'nh' to an nhg, enforcing canonical sort order