]> git.puffer.fish Git - matthieu/frr.git/commit
lib: change how nexthop groups store nexthop addresses
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 14 Feb 2019 22:00:14 +0000 (20:00 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 14 Feb 2019 22:01:30 +0000 (20:01 -0200)
commitb43bb64f82f599ec9fec0cb89bd2dd05cb54ab87
treeaa47676d1c26ea943dc1752f579b9ad109ad13f6
parente5a501c2edd1f3f18ac0ce4c5d415c97cbfd0cc6
lib: change how nexthop groups store nexthop addresses

Use a pointer to a sockunion instead of a full sockunion in the
nexthop_hold structure. This prepares the ground for the next commit,
which will make nexthop addresses optional (in this commit we assume
nh->addr will never be NULL, but this will change).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/nexthop_group.c
lib/nexthop_group.h