From patchwork Mon Feb 6 20:47:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralf Baechle X-Patchwork-Id: 724729 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 3vHKKm4Ghtz9s2P for ; Tue, 7 Feb 2017 07:47:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752424AbdBFUrj (ORCPT ); Mon, 6 Feb 2017 15:47:39 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:55254 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037AbdBFUri (ORCPT ); Mon, 6 Feb 2017 15:47:38 -0500 Received: (from localhost user: 'ralf' uid#1000 fake: STDIN (ralf@eddie.linux-mips.org)) by eddie.linux-mips.org id S23991867AbdBFUrf62-L3 (ORCPT ); Mon, 6 Feb 2017 21:47:35 +0100 Date: Mon, 6 Feb 2017 21:47:35 +0100 From: Ralf Baechle To: netdev@vger.kernel.org, Stephen Hemminger , Arvid Brodin Subject: [PATCH iproute2] ip: HSR: Fix cut and paste error Message-ID: <20170206204735.GA30232@linux-mips.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes: 5c0aec93a516 ("ip: Add HSR support") Signed-off-by: Ralf Baechle --- I found this by coincidence when reading the HSR code. ip/iplink_hsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip/iplink_hsr.c b/ip/iplink_hsr.c index cb744eb..696b2c9 100644 --- a/ip/iplink_hsr.c +++ b/ip/iplink_hsr.c @@ -144,7 +144,7 @@ static void hsr_print_help(struct link_util *lu, int argc, char **argv, struct link_util hsr_link_util = { .id = "hsr", - .maxattr = IFLA_VLAN_MAX, + .maxattr = IFLA_HSR_MAX, .parse_opt = hsr_parse_opt, .print_opt = hsr_print_opt, .print_help = hsr_print_help,