]> git.proxmox.com Git - mirror_frr.git/commit
zebra: set valid on re->nhe directly in nexthop_active_update()
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 30 Jan 2020 17:34:35 +0000 (12:34 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 26 Mar 2020 14:48:15 +0000 (10:48 -0400)
commit715e5c70d564017a8b709599e23bf94884ab9bb9
treec863d8bfde7b8e37ea2164f5798811b0064656e0
parentb1c3f7ef80fb626a15a1043b4c46f53c3fd34826
zebra: set valid on re->nhe directly in nexthop_active_update()

We were still doing a lookup on the nhe_id from before we
started referencing re->nhe directly.

Change set flag to just use re->nhe directly here since they
should always be the same at this point in the code anyway.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c