diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-14 10:06:44 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-04-06 18:14:08 +0200 |
commit | 63cf5d5d8c8e156a1f427614c8017ca71c32191c (patch) | |
tree | 0c47dab941db9e4fd20f10c2fd99ec4e2b2b60e1 /proto/bgp/packets.c | |
parent | af8568a8700b83f4d1946b7075fa3eac96d1d5b6 (diff) |
Eattr flags (originated and fresh) get their own struct fields
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 66f14150..7e978919 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -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 */ |