summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-10-06 20:47:53 +0000
committerBernhard Reutner-Fischer2007-10-06 20:47:53 +0000
commite747f62ed69504825beb2c52b8f0448b3d3b72ed (patch)
tree2dac3986903a6389c7a7bac584c9743ea1d6db43
parent339936be006c3695de5c93bc59707c3d853ae186 (diff)
downloadbusybox-e747f62ed69504825beb2c52b8f0448b3d3b72ed.zip
busybox-e747f62ed69504825beb2c52b8f0448b3d3b72ed.tar.gz
- mark TODO: use index_in_str_array()
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 02e13ed..bd53f93 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -633,7 +633,7 @@ static const struct method_t *get_method(const struct address_family_t *af, char
if (!name)
return NULL;
-
+ /* TODO: use index_in_str_array() */
for (i = 0; i < af->n_methods; i++) {
if (strcmp(af->method[i].name, name) == 0) {
return &af->method[i];