]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Cluster list item should be prepended
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 15 Nov 2016 15:24:39 +0000 (16:24 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 15 Nov 2016 15:24:39 +0000 (16:24 +0100)
commit261816b0d4f3d4549a4402b95541b82fc7f10a4b
tree45fe0676d36e099c02cb44202bddd0bba6875da2
parentc8cafc8ebb5320ac7c6117c17e6460036f0fdf62
BGP: Cluster list item should be prepended

Commit 3c09af41... changed behavior of int_set_add() from prepend to
append, which makes more sense for community list, but prepend must be
used for cluster list. Add int_set_prepend() and use it in cluster list
handling code.
nest/a-set.c
nest/attrs.h
proto/bgp/attrs.c