aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index ad0a9971b..9fc1266da 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -259,7 +259,7 @@ static char *parse(const char *command, struct interface_defn_t *ifd)
opt_depth++;
command += 2;
} else {
- addstr(&result, "[", 1);
+ addstr(&result, command, 1);
command++;
}
break;
@@ -271,7 +271,7 @@ static char *parse(const char *command, struct interface_defn_t *ifd)
}
command += 2;
} else {
- addstr(&result, "]", 1);
+ addstr(&result, command, 1);
command++;
}
break;