summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-16 18:24:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-16 18:24:57 +0000
commit4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6 (patch)
treeb4b826f9131cc411148bc99f81ac74283122c84f /networking
parent5f03158f66dc2c73b052307f3871c4341fbabb8e (diff)
downloadbusybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.tar.gz
busybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.tar.bz2
busybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.zip
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
Diffstat (limited to 'networking')
-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;