]> git.proxmox.com Git - mirror_frr.git/commit - lib/nexthop_group.c
lib: Add equals function for nexthop groups
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 11 Apr 2019 17:36:41 +0000 (13:36 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:39 +0000 (11:13 -0400)
commit8f8d9845c6bc283e5a9f7339f9d3f2884774589b
tree01b88cc9305eb532d02ca42988e116327479cd1a
parentddaee0c7d3ca75040a9b28289a8d961084b000ea
lib: Add equals function for nexthop groups

Add a function to check whether nexthop groups
are equivalent. It does not care about ordering.

Also, set any functions that it relies on to take
const vars as well.

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