From: Коренберг Марк (ноутбук дома) Date: Sun, 9 Sep 2012 19:21:52 +0000 (+0600) Subject: ROUTE_DIFF result was not used in some place in route_compare X-Git-Tag: libnl3_2_15~62^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fedb862ea5a46df327a4de75e613e2d7732e8b46;p=libnl ROUTE_DIFF result was not used in some place in route_compare --- diff --git a/lib/route/route_obj.c b/lib/route/route_obj.c index 7ea4fff..54df023 100644 --- a/lib/route/route_obj.c +++ b/lib/route/route_obj.c @@ -332,7 +332,7 @@ static int route_compare(struct nl_object *_a, struct nl_object *_b, if (a->rt_metrics_mask & (1 << i) && (!(b->rt_metrics_mask & (1 << i)) || a->rt_metrics[i] != b->rt_metrics[i])) - ROUTE_DIFF(METRICS, 1); + diff |= ROUTE_DIFF(METRICS, 1); } diff |= ROUTE_DIFF(FLAGS,