* [PATCH iproute2] ip: HSR: Fix cut and paste error
@ 2017-02-06 20:47 Ralf Baechle
2017-02-06 21:49 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2017-02-06 20:47 UTC (permalink / raw)
To: netdev, Stephen Hemminger, Arvid Brodin
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(-)
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,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2] ip: HSR: Fix cut and paste error
2017-02-06 20:47 [PATCH iproute2] ip: HSR: Fix cut and paste error Ralf Baechle
@ 2017-02-06 21:49 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2017-02-06 21:49 UTC (permalink / raw)
To: Ralf Baechle; +Cc: netdev, Arvid Brodin
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-06 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 20:47 [PATCH iproute2] ip: HSR: Fix cut and paste error Ralf Baechle
2017-02-06 21:49 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).