From patchwork Tue Jul 23 16:13:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuseppe Longo X-Patchwork-Id: 261133 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 68BFF2C00AF for ; Wed, 24 Jul 2013 02:14:05 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933330Ab3GWQOD (ORCPT ); Tue, 23 Jul 2013 12:14:03 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:64386 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933293Ab3GWQOC (ORCPT ); Tue, 23 Jul 2013 12:14:02 -0400 Received: by mail-wg0-f41.google.com with SMTP id y10so3658906wgg.2 for ; Tue, 23 Jul 2013 09:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding; bh=XENXWObVvqfmlkW/M7/sR+xkT4Eg33zse7LNDiBYnYc=; b=N6Eenqah43XLaNpzyynToJRGNiJ6hdvQlVzGH/fHs0QZkkOn67bB2dees09LFPq4m7 wsDVt4rD8Uw49AAqK1f2/fZqSyCNP1CictrwH1Z7WkyrgGfAIs9qN3bSPF+wgORFLrqn VXZVs3eZtTO+8sh2p44CcqQbi+iBNrQhcStk1/PDd38EHWVNn9B3gKd3T1M8pjZtHgWc nR2Vm+CVCnVY2QND0HVx47uYFAY7C8Y3GNg0g8uhvSSQf3+UMnHCYNpBlOycXdqlQOEH aIBF/hxY3wpClIkE8DG91IVn8DalrywKQoGCK5n19UUDUF4kEvlb9CC1yMJh7kxPI3nT VN/w== X-Received: by 10.180.187.209 with SMTP id fu17mr22341710wic.52.1374596040595; Tue, 23 Jul 2013 09:14:00 -0700 (PDT) Received: from [127.0.0.1] (adsl-ull-226-41.46-151.net24.it. [151.46.41.226]) by mx.google.com with ESMTPSA id fb2sm6994033wic.4.2013.07.23.09.13.58 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 23 Jul 2013 09:13:59 -0700 (PDT) Subject: [xtables-arptables PATCH v2 5/5] nft: replace args.family To: netfilter-devel@vger.kernel.org From: Giuseppe Longo Date: Tue, 23 Jul 2013 18:13:45 +0200 Message-ID: <20130723161316.10040.78293.stgit@localhost> In-Reply-To: <20130723161017.10040.6256.stgit@localhost> References: <20130723161017.10040.6256.stgit@localhost> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Signed-off-by: Giuseppe Longo --- iptables/xtables.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/iptables/xtables.c b/iptables/xtables.c index d4b8709..d1b04cb 100644 --- a/iptables/xtables.c +++ b/iptables/xtables.c @@ -1096,7 +1096,7 @@ int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table) if (h->family == AF_UNSPEC) h->family = args.family; - h->ops = nft_family_ops_lookup(args.family); + h->ops = nft_family_ops_lookup(h->family); if (h->ops == NULL) xtables_error(PARAMETER_PROBLEM, "Unknown family");