merge_filterset() needs to produce a stable sorted filterset to make sure
authorclaudio <claudio@openbsd.org>
Mon, 27 Aug 2018 09:49:00 +0000 (09:49 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 27 Aug 2018 09:49:00 +0000 (09:49 +0000)
commited223ee51abe5d90348ffa01193a67a66b916bef
tree2794576c26a7d363ef3051d189483c28b4c568e8
parent2723123cafb705c78b5251329bdd932ca6b834d9
merge_filterset() needs to produce a stable sorted filterset to make sure
the RDE can compare the sets on reload and skip those that did not change.
For large communities the check is wrong and incomplete, replace it with
a simple memcmp() of the structs which will result in a stable order.
OK phessler@
usr.sbin/bgpd/parse.y