summaryrefslogtreecommitdiffstats
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-05 00:32:43 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-01 22:13:06 +0100
commitd4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392 (patch)
tree250831364f85b54568614167d4b6bf118348c632 /zebra/rib.h
parentMerge pull request #14546 from adrianomarto/ospf6-point-to-multipoint (diff)
downloadfrr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.tar.xz
frr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.zip
*: Introduce Local Host Routes to FRR
Create Local routes in FRR: S 0.0.0.0/0 [1/0] via 192.168.119.1, enp39s0, weight 1, 00:03:46 K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp39s0, 00:03:51 O 192.168.119.0/24 [110/100] is directly connected, enp39s0, weight 1, 00:03:46 C>* 192.168.119.0/24 is directly connected, enp39s0, 00:03:51 L>* 192.168.119.224/32 is directly connected, enp39s0, 00:03:51 O 192.168.119.229/32 [110/100] via 0.0.0.0, enp39s0 inactive, weight 1, 00:03:46 C>* 192.168.119.229/32 is directly connected, enp39s0, 00:03:46 Create ability to redistribute local routes. Modify tests to support this change. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index e70b5c142..a8a1f049a 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -169,7 +169,7 @@ struct route_entry {
/* Define route types that are equivalent to "connected". */
#define RIB_CONNECTED_ROUTE(R) \
- ((R)->type == ZEBRA_ROUTE_CONNECT || (R)->type == ZEBRA_ROUTE_NHRP)
+ ((R)->type == ZEBRA_ROUTE_CONNECT || (R)->type == ZEBRA_ROUTE_LOCAL || (R)->type == ZEBRA_ROUTE_NHRP)
/* meta-queue structure:
* sub-queue 0: nexthop group objects