X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fbusybox%2Fpatches%2F260-vconfig_proc.patch;fp=package%2Fbusybox%2Fpatches%2F260-vconfig_proc.patch;h=5d6c26b983c91326237f8a407c0f840e9f398e01;hp=0000000000000000000000000000000000000000;hb=6d3ec71ffa0af03b7a8a47ac4dae7f614da8d160;hpb=d6ed6a46f5f96467144efca25199217670e05051 diff --git a/package/busybox/patches/260-vconfig_proc.patch b/package/busybox/patches/260-vconfig_proc.patch new file mode 100644 index 0000000000..5d6c26b983 --- /dev/null +++ b/package/busybox/patches/260-vconfig_proc.patch @@ -0,0 +1,22 @@ +--- a/networking/vconfig.c ++++ b/networking/vconfig.c +@@ -116,8 +116,6 @@ static const char name_types[] ALIGN1 = + '_', 'N', 'O', '_', 'P', 'A', 'D', 0, + }; + +-static const char conf_file_name[] ALIGN1 = "/proc/net/vlan/config"; +- + int vconfig_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; + int vconfig_main(int argc, char **argv) + { +@@ -129,10 +127,6 @@ int vconfig_main(int argc, char **argv) + bb_show_usage(); + } + +- /* Don't bother closing the filedes. It will be closed on cleanup. */ +- /* Will die if 802.1q is not present */ +- xopen(conf_file_name, O_RDONLY); +- + memset(&ifr, 0, sizeof(ifr)); + + ++argv;