Skip to contentSkip to conversation

ip: HSR: Fix cut and paste error

PATCH Applied Ralf Baechle 2 participants 2 messages Feb 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip: HSR: Fix cut and paste error

Fixes 5c0aec93a516 ("ip: Add HSR support")

---
I found this by coincidence when reading the HSR code.

 ip/iplink_hsr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ip/iplink_hsr.c +1 -1
index cb744eb..696b2c9 100644
@@ -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,