From patchwork Sun Sep 29 11:39:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamal Hadi Salim X-Patchwork-Id: 278853 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 0868E2C00C8 for ; Sun, 29 Sep 2013 21:39:43 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751223Ab3I2Lj2 (ORCPT ); Sun, 29 Sep 2013 07:39:28 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:45992 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141Ab3I2Lj0 (ORCPT ); Sun, 29 Sep 2013 07:39:26 -0400 Received: by mail-ie0-f177.google.com with SMTP id qd12so7786204ieb.36 for ; Sun, 29 Sep 2013 04:39:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type; bh=4Bwv9ZYqgQ77ct6MbYM6G7h58ErcN8flU35DmF63bPA=; b=GdQeGw2udM/jFvXNvmMLvw9IBLQ4ar3Vh7e31tdGH2idv3up8WxQ0khL/7RQAtBXi7 oaWoVTsu8vXdbNi/V9dkRfB0HBDk/PZfgQsXFwfk2nWlTCLSQQ4PlvMjIRYvS/P7j/LJ B9PMOvTSxcTZt5NGFoWBVNYvCZ5g34nTwhN3vGj6fAWPbQ/ms3U4X8IXaWa19JgqYT6X FuoHWJbuts/QHfGsQidfwVtTrW9EGF/Hc2MidIGJvpYzcWvIIOtFg01CfTkOn7HC2CI1 v8XHfCea8ncWkemjZtEnIC/CMAIC9LKcSTdyvlBd2D+1mChB7/h69sSagfLQpEEwac6B FbvA== X-Gm-Message-State: ALoCoQkl7SHdwAYh3ckflXxPqp614AqNMs/vvIyF2RCt7vk5Oteg3/2AZnRFL4MszA1j2FKzDkn3 X-Received: by 10.50.114.168 with SMTP id jh8mr9696733igb.6.1380454766253; Sun, 29 Sep 2013 04:39:26 -0700 (PDT) Received: from [192.168.1.100] (24-246-6-163.cable.teksavvy.com. [24.246.6.163]) by mx.google.com with ESMTPSA id oq3sm10051724igb.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Sep 2013 04:39:25 -0700 (PDT) Message-ID: <5248116B.7080305@mojatatu.com> Date: Sun, 29 Sep 2013 07:39:23 -0400 From: Jamal Hadi Salim User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Stephen Hemminger CC: "netdev@vger.kernel.org" , herbert@gondor.apana.org.au Subject: [PATCH]: iproute action: typo nat fix Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org attached. cheers, jamal commit 012b8c4b3af629039d2bb47ade6e0d3e6980a72b Author: Jamal Hadi Salim Date: Sun Sep 29 07:35:21 2013 -0400 If you taketh you giveth. I Went the LinuxWay and copied this for m_simple.c and noticed this one typo (I wonder where it came from?;->). Signed-off-by: Jamal Hadi Salim diff --git a/tc/m_nat.c b/tc/m_nat.c index 01ec032..d502a81 100644 --- a/tc/m_nat.c +++ b/tc/m_nat.c @@ -146,7 +146,7 @@ parse_nat(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct if (matches(*argv, "index") == 0) { NEXT_ARG(); if (get_u32(&sel.index, *argv, 10)) { - fprintf(stderr, "Pedit: Illegal \"index\"\n"); + fprintf(stderr, "Nat: Illegal \"index\"\n"); return -1; } argc--;