From: Roy Marples Date: Thu, 19 Apr 2018 12:06:07 +0000 (+0100) Subject: routing: Fix case when cloning route changes but needs to be replaced. X-Git-Tag: v7.0.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47cfa60eb860e6edf16be7bbd3c9b8043d754343;p=thirdparty%2Fdhcpcd.git routing: Fix case when cloning route changes but needs to be replaced. --- diff --git a/src/route.c b/src/route.c index dc43a8c0..09545cdc 100644 --- a/src/route.c +++ b/src/route.c @@ -359,7 +359,7 @@ rt_add(struct rt *nrt, struct rt *ort) * 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) {