1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Eattr flags (originated and fresh) get their own struct fields

This commit is contained in:
Maria Matejka
2022-03-14 10:06:44 +01:00
parent af8568a870
commit 63cf5d5d8c
5 changed files with 19 additions and 10 deletions

View File

@@ -1062,7 +1062,7 @@ bgp_use_next_hop(struct bgp_export_state *s, eattr *a)
return 1;
/* Keep it when explicitly set in export filter */
if (a->type & EAF_FRESH)
if (a->fresh)
return 1;
/* Check for non-matching AF */