summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-04-23 13:54:28 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-04-23 13:54:28 +0200
commit145368f5474436ad7c48fa26f5bde8108ae5ef4a (patch)
tree3f4485fd44404d76135037913606151f2ca4937c /proto/ospf/ospf.h
parent4dd24f05f384ac14546d4bebbfcb0ecf9a976ec6 (diff)
Extends multipath support for OSPF.
Fixes cases where the same network or external route are propagated by several OSPF routes and some other corner cases in next hop construction and ECMP. Allows to specify whether external routes should be merged. Thanks to Peter Christensen for the original patch.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 66719e30..e705b88b 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -81,6 +81,7 @@ struct ospf_config
unsigned tick;
byte rfc1583;
byte stub_router;
+ byte merge_external;
byte abr;
int ecmp;
list area_list; /* list of struct ospf_area_config */
@@ -777,6 +778,7 @@ struct proto_ospf
struct fib rtf; /* Routing table */
byte rfc1583; /* RFC1583 compatibility */
byte stub_router; /* Do not forward transit traffic */
+ byte merge_external; /* Should i merge external routes? */
byte ebit; /* Did I originate any ext lsa? */
byte ecmp; /* Maximal number of nexthops in ECMP route, or 0 */
struct ospf_area *backbone; /* If exists */