summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-03-19 16:33:55 +0100
committerGitHub <noreply@github.com>2019-03-19 16:33:55 +0100
commitbf07291be05b9354aca599f446fc7bc621dca6f0 (patch)
tree9773bfc5402eb744713d56d0c7156d53b9f15349 /zebra
parentMerge pull request #3950 from donaldsharp/zlookup_or_down (diff)
parentzebra: System routes sometimes can not be properly selected (diff)
downloadfrr-bf07291be05b9354aca599f446fc7bc621dca6f0.tar.xz
frr-bf07291be05b9354aca599f446fc7bc621dca6f0.zip
Merge pull request #3960 from donaldsharp/connected
zebra: System routes sometimes can not be properly selected
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 2014aa3be..5fa51ada4 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1405,7 +1405,7 @@ static void rib_process_update_fib(struct zebra_vrf *zvrf,
* from ourselves we don't
* over write this pointer
*/
- dest->selected_fib = NULL;
+ dest->selected_fib = new;
}
/* If install succeeded or system route, cleanup flags
* for prior route. */