003-brctl_show_fix.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- a/networking/brctl.c
  2. +++ b/networking/brctl.c
  3. @@ -129,7 +129,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
  4. "setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
  5. "setpathcost\0" "setportprio\0" "setbridgeprio\0"
  6. )
  7. - IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
  8. + IF_FEATURE_BRCTL_SHOW("show\0");
  9. enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
  10. IF_FEATURE_BRCTL_FANCY(,
  11. @@ -137,7 +137,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
  12. ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
  13. ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
  14. )
  15. - IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
  16. + IF_FEATURE_BRCTL_SHOW(, ARG_show)
  17. };
  18. int fd;
  19. --- a/networking/Config.src
  20. +++ b/networking/Config.src
  21. @@ -82,12 +82,12 @@ config FEATURE_BRCTL_FANCY
  22. This adds about 600 bytes.
  23. config FEATURE_BRCTL_SHOW
  24. - bool "Support show, showmac and showstp"
  25. + bool "Support show"
  26. default y
  27. depends on BRCTL && FEATURE_BRCTL_FANCY
  28. help
  29. Add support for option which prints the current config:
  30. - showmacs, showstp, show
  31. + show
  32. config DNSD
  33. bool "dnsd"