diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-02-27 18:43:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-27 18:43:59 -0500 |
| commit | f16e992d37f670ea4812c950e3f3d29e7f019b03 (patch) | |
| tree | 1fa614cd6e3aaad1b237b159be2b48dfa7282d3b /zebra/rib.h | |
| parent | 93b568451d3af4228376f82a253fa71a964fb091 (diff) | |
| parent | c415d89528f5cd7128e5b4c4cd65cce01d64fc80 (diff) | |
Merge pull request #5857 from mjstapp/embed_nhg_in_nhe
zebra,lib: Embed lib nexthop-group in zebra hash entry
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 927675e3d9..931c97638e 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -515,7 +515,7 @@ static inline struct nexthop_group *rib_active_nhg(struct route_entry *re) if (re->fib_ng.nexthop) return &(re->fib_ng); else - return re->nhe->nhg; + return &(re->nhe->nhg); } extern void zebra_vty_init(void); |
