X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fbusybox%2Fpatches%2F003-brctl_show_fix.patch;h=8177fb01c66ae80c2f67b00aacb32b7e0d37d08f;hp=b921c7890e6f3fdbee8d4ce3ac81ff7b2fbb590e;hb=801985e5286881dd578a19280b2a6c8e212a530d;hpb=a656395fe8018b9cdc0432a53e551a3af890b698 diff --git a/package/busybox/patches/003-brctl_show_fix.patch b/package/busybox/patches/003-brctl_show_fix.patch index b921c7890e..8177fb01c6 100644 --- a/package/busybox/patches/003-brctl_show_fix.patch +++ b/package/busybox/patches/003-brctl_show_fix.patch @@ -1,6 +1,6 @@ --- a/networking/brctl.c +++ b/networking/brctl.c -@@ -104,7 +104,7 @@ int brctl_main(int argc UNUSED_PARAM, ch +@@ -129,7 +129,7 @@ int brctl_main(int argc UNUSED_PARAM, ch "setageing\0" "setfd\0" "sethello\0" "setmaxage\0" "setpathcost\0" "setportprio\0" "setbridgeprio\0" ) @@ -9,7 +9,7 @@ enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif IF_FEATURE_BRCTL_FANCY(, -@@ -112,7 +112,7 @@ int brctl_main(int argc UNUSED_PARAM, ch +@@ -137,7 +137,7 @@ int brctl_main(int argc UNUSED_PARAM, ch ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage, ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio ) @@ -18,15 +18,15 @@ }; int fd; ---- a/networking/Config.in -+++ b/networking/Config.in -@@ -77,12 +77,12 @@ config FEATURE_BRCTL_FANCY +--- a/networking/Config.src ++++ b/networking/Config.src +@@ -82,12 +82,12 @@ config FEATURE_BRCTL_FANCY This adds about 600 bytes. config FEATURE_BRCTL_SHOW - bool "Support show, showmac and showstp" + bool "Support show" - default n + default y depends on BRCTL && FEATURE_BRCTL_FANCY help Add support for option which prints the current config: