aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-16 18:24:57 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-16 18:24:57 +0000
commit34e643c6901345c56b0efc69e86fca710599ed86 (patch)
treeb4b826f9131cc411148bc99f81ac74283122c84f /networking/ifupdown.c
parent3260d32f536bf2da339239d1b17484491968af82 (diff)
downloadbusybox-w32-34e643c6901345c56b0efc69e86fca710599ed86.tar.gz
busybox-w32-34e643c6901345c56b0efc69e86fca710599ed86.tar.bz2
busybox-w32-34e643c6901345c56b0efc69e86fca710599ed86.zip
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>) git-svn-id: svn://busybox.net/trunk/busybox@16396 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 00eb576f4..45407f9f4 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -1099,7 +1099,6 @@ int ifupdown_main(int argc, char **argv)
1099 llist_t *target_list = NULL; 1099 llist_t *target_list = NULL;
1100 const char *interfaces = "/etc/network/interfaces"; 1100 const char *interfaces = "/etc/network/interfaces";
1101 int any_failures = 0; 1101 int any_failures = 0;
1102 int i;
1103 1102
1104 if (applet_name[2] == 'u') { 1103 if (applet_name[2] == 'u') {
1105 /* ifup command */ 1104 /* ifup command */
@@ -1188,6 +1187,7 @@ int ifupdown_main(int argc, char **argv)
1188 struct mapping_defn_t *currmap; 1187 struct mapping_defn_t *currmap;
1189 1188
1190 for (currmap = defn->mappings; currmap; currmap = currmap->next) { 1189 for (currmap = defn->mappings; currmap; currmap = currmap->next) {
1190 int i;
1191 for (i = 0; i < currmap->n_matches; i++) { 1191 for (i = 0; i < currmap->n_matches; i++) {
1192 if (fnmatch(currmap->match[i], liface, 0) != 0) 1192 if (fnmatch(currmap->match[i], liface, 0) != 0)
1193 continue; 1193 continue;