summaryrefslogtreecommitdiff
path: root/networking/brctl.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
commit60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch)
tree493e30821f3d484b7395ce9d9e4be39ec9a43126 /networking/brctl.c
parentb8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff)
downloadbusybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/brctl.c')
-rw-r--r--networking/brctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index b4f5809df..207b069aa 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -133,9 +133,9 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
133 133
134 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif 134 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
135 IF_FEATURE_BRCTL_FANCY(, 135 IF_FEATURE_BRCTL_FANCY(,
136 ARG_stp, 136 ARG_stp,
137 ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage, 137 ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
138 ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio 138 ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
139 ) 139 )
140 IF_FEATURE_BRCTL_SHOW(, ARG_show) 140 IF_FEATURE_BRCTL_SHOW(, ARG_show)
141 }; 141 };
@@ -285,7 +285,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
285 bb_error_msg_and_die(bb_msg_invalid_arg, *argv, "port"); 285 bb_error_msg_and_die(bb_msg_invalid_arg, *argv, "port");
286 memset(ifidx, 0, sizeof ifidx); 286 memset(ifidx, 0, sizeof ifidx);
287 arm_ioctl(args, BRCTL_GET_PORT_LIST, (unsigned long)ifidx, 287 arm_ioctl(args, BRCTL_GET_PORT_LIST, (unsigned long)ifidx,
288 MAX_PORTS); 288 MAX_PORTS);
289 xioctl(fd, SIOCDEVPRIVATE, &ifr); 289 xioctl(fd, SIOCDEVPRIVATE, &ifr);
290 for (i = 0; i < MAX_PORTS; i++) { 290 for (i = 0; i < MAX_PORTS; i++) {
291 if (ifidx[i] == port) { 291 if (ifidx[i] == port) {