summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2022-01-24 03:44:21 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2022-01-24 03:44:21 +0100
commit9dbb7eb6ebda016cd14ce8fef403c2b3f7bdd504 (patch)
tree62121fe6ef0706322353bb26525fc1199a74afe2 /proto/bgp/bgp.h
parenta9646efd40569f3a1d749bc1bd13219876b33a00 (diff)
BGP: Log route updates that were changed to withdraws
Typical BGP error handling is treat-as-withdraw, where an invalid route is replaced with a withdraw. Log route network when it happens.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 5e025ccd..db05b693 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -423,6 +423,7 @@ struct bgp_parse_state {
int as4_session;
int add_path;
int mpls;
+ int reach_nlri_step;
u32 attrs_seen[256/32];