]> git.proxmox.com Git - mirror_frr.git/commit
lib: Make nexthop_next* use const for nexthop
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 23 Oct 2019 18:37:20 +0000 (14:37 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:44 +0000 (11:13 -0400)
commit17c25e0368e765ec23b7c94e65f5d4e44102f77e
tree36128bfd33ab2aa3697cfe2b3672797df4461ca3
parent0b4dadb3858667a858c20aac9c6b854aaf2ebdf9
lib: Make nexthop_next* use const for nexthop

Make nexthop_next() and nexthop_next_active_resolved() use
const for the nexthop argument. They should not be modifying so
it makes sense here.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop.c
lib/nexthop.h