diff options
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 02e13ed27..bd53f93e8 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]; |