diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-06-28 15:18:29 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-07-20 11:22:21 +0200 |
commit | 4699ad72960e210cd9dd5f652b921dcd0ebd5d05 (patch) | |
tree | 094da42f165fb0543699313676193021586fced2 /ospf6d/ospf6_route.h | |
parent | Merge pull request #8554 from mjstapp/evpn_workqueue (diff) | |
download | frr-4699ad72960e210cd9dd5f652b921dcd0ebd5d05.tar.xz frr-4699ad72960e210cd9dd5f652b921dcd0ebd5d05.zip |
ospf6d: move prefix_options from _path to _route
Prefix options are per-prefix, not per-path. As evident by the fact
that the field is never used on ECMP paths. Move it where it belongs.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_route.h')
-rw-r--r-- | ospf6d/ospf6_route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_route.h b/ospf6d/ospf6_route.h index a791a82cd..ecfb45d1e 100644 --- a/ospf6d/ospf6_route.h +++ b/ospf6d/ospf6_route.h @@ -79,9 +79,6 @@ struct ospf6_path { /* Optional Capabilities */ uint8_t options[3]; - /* Prefix Options */ - uint8_t prefix_options; - /* Associated Area */ in_addr_t area_id; @@ -147,6 +144,9 @@ struct ospf6_route { /* flag */ uint8_t flag; + /* Prefix Options */ + uint8_t prefix_options; + /* route option */ void *route_option; |