diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 03:13:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-23 03:13:55 +0200 |
commit | df1f479fc5167d6fa82b127c91a3851c0035fcac (patch) | |
tree | 64d32992e54d688e6f6ac9d092066e1b0274fc0f /networking | |
parent | 6eb38fded2f459f2828121a2f6b1499da2677553 (diff) | |
download | busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.tar.gz busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.tar.bz2 busybox-w32-df1f479fc5167d6fa82b127c91a3851c0035fcac.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/brctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/brctl.c b/networking/brctl.c index 68725f93c..2f4ac4a87 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -107,7 +107,7 @@ static unsigned str_to_jiffies(const char *time_str) | |||
107 | 107 | ||
108 | #define filedata bb_common_bufsiz1 | 108 | #define filedata bb_common_bufsiz1 |
109 | 109 | ||
110 | #if ENABLE_FEATURE_BRCTL_SHOW | 110 | #if ENABLE_FEATURE_BRCTL_SHOW || ENABLE_FEATURE_BRCTL_FANCY |
111 | static int read_file(const char *name) | 111 | static int read_file(const char *name) |
112 | { | 112 | { |
113 | int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1); | 113 | int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1); |
@@ -120,7 +120,9 @@ static int read_file(const char *name) | |||
120 | } | 120 | } |
121 | return n; | 121 | return n; |
122 | } | 122 | } |
123 | #endif | ||
123 | 124 | ||
125 | #if ENABLE_FEATURE_BRCTL_SHOW | ||
124 | /* NB: we are in /sys/class/net | 126 | /* NB: we are in /sys/class/net |
125 | */ | 127 | */ |
126 | static int show_bridge(const char *name, int need_hdr) | 128 | static int show_bridge(const char *name, int need_hdr) |