diff mbox

[iproute2] ip: HSR: Fix cut and paste error

Message ID 20170206204735.GA30232@linux-mips.org
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Ralf Baechle Feb. 6, 2017, 8:47 p.m. UTC
Fixes: 5c0aec93a516 ("ip: Add HSR support")
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
I found this by coincidence when reading the HSR code.

 ip/iplink_hsr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Hemminger Feb. 6, 2017, 9:49 p.m. UTC | #1
On Mon, 6 Feb 2017 21:47:35 +0100
Ralf Baechle <ralf@linux-mips.org> wrote:

> Fixes: 5c0aec93a516 ("ip: Add HSR support")
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
> ---

Applied, thanks.
diff mbox

Patch

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,