[PATCH] brctl: add support for showstp command

Denys Vlasenko vda.linux at googlemail.com
Fri Oct 11 16:00:37 UTC 2019


Applied with some changes, please try current git.

> +       read_leaf(name, "brport", "hairpin_mode");
> +       if (!LONE_CHAR(filedata, '0'))
> +               printf("\n hairpin mode\t\t\%4u", xstrtou(filedata, 0));

Should be
    "\n hairpin mode\t\t%4u"
not
    "\n hairpin mode\t\t\%4u"
right?


More information about the busybox mailing list