summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-15 11:16:22 -0500
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:36 -0400
commiteecacedc3b9526b59ef690bce41f41158a137c9f (patch)
tree0655771318223c8800ee7ccf851da909cf2641af /zebra/redistribute.c
parent6b46851168ef37eaacba28a2a655e15ae5934cd0 (diff)
zebra: Remove re->nexthop_num from re
The nexthop_num is not a function of the re. It is owned by the nexthop group. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 65b62679e8..42f8c812b4 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -676,7 +676,6 @@ int zebra_add_import_table_entry(struct zebra_vrf *zvrf, struct route_node *rn,
newre->metric = re->metric;
newre->mtu = re->mtu;
newre->table = zvrf->table_id;
- newre->nexthop_num = 0;
newre->uptime = monotime(NULL);
newre->instance = re->table;
newre->ng = nexthop_group_new();