From patchwork Sat Dec 31 22:18:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Engelhardt X-Patchwork-Id: 133749 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D4378B6FB6 for ; Sun, 1 Jan 2012 09:18:33 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753344Ab1LaWS3 (ORCPT ); Sat, 31 Dec 2011 17:18:29 -0500 Received: from seven.medozas.de ([188.40.89.202]:50005 "EHLO seven.medozas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251Ab1LaWS2 (ORCPT ); Sat, 31 Dec 2011 17:18:28 -0500 Received: by seven.medozas.de (Postfix, from userid 25121) id BF03021A0173; Sat, 31 Dec 2011 23:18:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by seven.medozas.de (Postfix) with ESMTP id 8B81521A0172; Sat, 31 Dec 2011 23:18:27 +0100 (CET) Date: Sat, 31 Dec 2011 23:18:27 +0100 (CET) From: Jan Engelhardt To: shemminger@vyatta.com cc: Linux Networking Developer Mailing List Subject: iproute2: fix calling up the xt action In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jan Engelhardt Date: 2011-06-01 00:52:07+0200 Upsteam: has not been sent yet Requesting the xt action never succeeded because it registered using the wrong name. --- tc/m_xt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: iproute2-2.6.37/tc/m_xt.c =================================================================== --- iproute2-2.6.37.orig/tc/m_xt.c +++ iproute2-2.6.37/tc/m_xt.c @@ -343,8 +343,8 @@ print_ipt(struct action_util *au,FILE * return 0; } -struct action_util ipt_action_util = { - .id = "ipt", +struct action_util xt_action_util = { + .id = "xt", .parse_aopt = parse_ipt, .print_aopt = print_ipt, };