summaryrefslogtreecommitdiff
path: root/proto/bmp/bmp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2023-05-31 17:41:53 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-05-31 17:41:53 +0200
commite8be7a7080be2ffd800ead5377b06c7a535b564a (patch)
tree60974db7de51128187f3521566a56a9f88c5e744 /proto/bmp/bmp.h
parent1e45e2aa4e173869be071bfa28057d8b52e8948c (diff)
BMP: Proper reconfiguration and protocol status
Based on patches from Michal Zagorski <mzagorsk@akamai.com> co-authored with Pawel Maslanka <pmaslank@akamai.com>. Thanks!
Diffstat (limited to 'proto/bmp/bmp.h')
-rw-r--r--proto/bmp/bmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bmp/bmp.h b/proto/bmp/bmp.h
index 6d429e66..be28468c 100644
--- a/proto/bmp/bmp.h
+++ b/proto/bmp/bmp.h
@@ -75,6 +75,7 @@ struct bmp_proto {
timer *connect_retry_timer; // Timer for retrying connection to the BMP collector
struct rt_table_info rt_table_in_pre_policy; // Pre-policy route import table
bool started; // Flag that stores running status of BMP instance
+ int sock_err; // Last socket error code
};