]> git.ipfire.org Git - thirdparty/bird.git/commit - nest/rt-table.c
Nest: Update handling of temporary attributes
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 14 Mar 2019 16:22:22 +0000 (17:22 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 14 Mar 2019 16:31:40 +0000 (17:31 +0100)
commit875cc073b067f295cccc668008e10218f8e98dd3
tree28f65beeab81c8b422dd9d7c18a4f4f331adeb31
parent9aa77fccebc4d84b5e1496884cd124d09893041b
Nest: Update handling of temporary attributes

The temporary atttributes are no longer removed by ea_do_prune(), but
they are undefined by store_tmp_attrs() protocol hooks. This fixes
several bugs where temporary attributes were removed when they should
not or not removed when they should be. The flag EAF_TEMP is no longer
needed and was removed.

Update all protocol make_tmp_attrs() / store_tmp_attrs() hooks to use
helper functions and to handle unset attributes properly.

Also fix some related bugs like improper handling of empty eattr list.
filter/config.Y
nest/protocol.h
nest/route.h
nest/rt-attr.c
nest/rt-show.c
nest/rt-table.c
proto/babel/babel.c
proto/mrt/mrt.c
proto/ospf/ospf.c
proto/rip/rip.c
sysdep/unix/krt.c