]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: HSR: Fix cut and paste error
authorRalf Baechle <ralf@linux-mips.org>
Mon, 6 Feb 2017 20:47:35 +0000 (21:47 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 6 Feb 2017 21:49:02 +0000 (13:49 -0800)
Fixes: 5c0aec93a516 ("ip: Add HSR support")
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
ip/iplink_hsr.c

index cb744ebf9612b4f321f9e5e8130e4bc8456cb3df..696b2c91369789b16e76fd6afdf0eb71f747bce1 100644 (file)
@@ -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,