changeset 4261:3879ca166a05 draft

routing: Fix case when cloning route changes but needs to be replaced.
author Roy Marples <roy@marples.name>
date Thu, 19 Apr 2018 13:06:07 +0100
parents 8c6250af2ed4
children 57f0bf420e49
files src/route.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/route.c	Thu Apr 19 11:09:09 2018 +0100
+++ b/src/route.c	Thu Apr 19 13:06:07 2018 +0100
@@ -359,7 +359,7 @@
 	 * As such, we need to delete and re-add the route to flush children
 	 * to correct the flags. */
 	if (change && ort != NULL && ort->rt_flags & RTF_CLONING)
-		change = true;
+		change = false;
 #endif
 
 	if (change) {