diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 07:26:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 08:00:05 -0400 |
| commit | f0f77c9a590bf538033602a0b2da6084c9ea22e2 (patch) | |
| tree | 80113c30accb622589bcd67ef25fdda17fba0189 /zebra/zebra_routemap.h | |
| parent | f0683d22277017e5a93798ce88a06fc7927dc326 (diff) | |
zebra: Refactor 'struct rib' to be 'struct route_entry'
The 'struct rib' data structure is missnamed. It really
is a 'struct route_entry' as part of the 'struct route_node'.
We have 1 'struct route_entry' per route src. As such
1 route node can have multiple route entries if multiple
protocols attempt to install the same route.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_routemap.h')
| -rw-r--r-- | zebra/zebra_routemap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h index 94981a3cd6..ac9cc40efa 100644 --- a/zebra/zebra_routemap.h +++ b/zebra/zebra_routemap.h @@ -43,7 +43,7 @@ extern route_map_result_t zebra_route_map_check (int family, int rib_type, extern route_map_result_t zebra_nht_route_map_check (int family, int client_proto, struct prefix *p, - struct rib *, + struct route_entry *, struct nexthop *nexthop); |
