summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2020-11-12 04:02:38 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-11-12 04:02:38 +0100
commit3b56bf8849283977f2f4fa7b8f3dc62fdd8d7587 (patch)
tree871526fcf88300711a203be912ad18c31701b8ec /proto/bgp/bgp.h
parent99ad208dd73d357156672a53f48b77dcf6515c30 (diff)
BFD: Better handling of BFD options in BGP configs
Merge multiple BFD option blocks in BGP configs instead of using the last one. That is necessary for proper handling of templates when BFD options are used both in a BGP template and in a BGP protocol derived from that template.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 5f365fcd..ff52a1a1 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -130,7 +130,7 @@ struct bgp_config {
const char *dynamic_name; /* Name pattern for dynamic BGP */
int dynamic_name_digits; /* Minimum number of digits for dynamic names */
int check_link; /* Use iface link state for liveness detection */
- const struct bfd_options *bfd; /* Use BFD for liveness detection */
+ struct bfd_options *bfd; /* Use BFD for liveness detection */
};
struct bgp_channel_config {