From: Phil Sutter Subject: [iproute PATCH] route: Fix printing of locked entries Date: Sat, 12 Dec 2015 14:09:48 +0100 Message-ID: <1449925788-30736-1-git-send-email-phil@nwl.cc> Cc: netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from orbit.nwl.cc ([176.31.251.142]:43718 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbbLLNKD (ORCPT ); Sat, 12 Dec 2015 08:10:03 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Commit 0f7543322c5fd ("route: ignore RTAX_HOPLIMIT of value -1") accidentally reordered fprintf statements. This patch restores the original ordering. Fixes: 0f7543322c5fd ("route: ignore RTAX_HOPLIMIT of value -1") Signed-off-by: Phil Sutter --- ip/iproute.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ip/iproute.c b/ip/iproute.c index c42ea0b9ecb8e..4d86a596175f5 100644 --- a/ip/iproute.c +++ b/ip/iproute.c @@ -577,8 +577,6 @@ int print_route(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) if (mxrta[i] == NULL) continue; - if (mxlock & (1<