summaryrefslogtreecommitdiff
path: root/networking/brctl.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
commit5e34ff29bcc870936ab18172f438a34d042d4e03 (patch)
treea5e7a528f2f916eb883f1161eadceacdf2dca4be /networking/brctl.c
parent8b814b4a349e2262c0ad25793b05206a14651ebb (diff)
downloadbusybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz
busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.bz2
busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.zip
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
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 1b5268947..57074cd73 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -99,20 +99,20 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
99{ 99{
100 static const char keywords[] ALIGN1 = 100 static const char keywords[] ALIGN1 =
101 "addbr\0" "delbr\0" "addif\0" "delif\0" 101 "addbr\0" "delbr\0" "addif\0" "delif\0"
102 USE_FEATURE_BRCTL_FANCY( 102 IF_FEATURE_BRCTL_FANCY(
103 "stp\0" 103 "stp\0"
104 "setageing\0" "setfd\0" "sethello\0" "setmaxage\0" 104 "setageing\0" "setfd\0" "sethello\0" "setmaxage\0"
105 "setpathcost\0" "setportprio\0" "setbridgeprio\0" 105 "setpathcost\0" "setportprio\0" "setbridgeprio\0"
106 ) 106 )
107 USE_FEATURE_BRCTL_SHOW("showmacs\0" "show\0"); 107 IF_FEATURE_BRCTL_SHOW("showmacs\0" "show\0");
108 108
109 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif 109 enum { ARG_addbr = 0, ARG_delbr, ARG_addif, ARG_delif
110 USE_FEATURE_BRCTL_FANCY(, 110 IF_FEATURE_BRCTL_FANCY(,
111 ARG_stp, 111 ARG_stp,
112 ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage, 112 ARG_setageing, ARG_setfd, ARG_sethello, ARG_setmaxage,
113 ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio 113 ARG_setpathcost, ARG_setportprio, ARG_setbridgeprio
114 ) 114 )
115 USE_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show) 115 IF_FEATURE_BRCTL_SHOW(, ARG_showmacs, ARG_show)
116 }; 116 };
117 117
118 int fd; 118 int fd;