1 Parse the complete hostname when set from a file (busybox-1.10.2 behaviour)
3 --- a/networking/hostname.c
4 +++ b/networking/hostname.c
5 @@ -35,7 +35,7 @@ static void do_sethostname(char *s, int
8 parser_t *parser = config_open2(s, xfopen_for_read);
9 - while (config_read(parser, &s, 1, 1, "# \t", PARSE_NORMAL & ~PARSE_GREEDY)) {
10 + while (config_read(parser, &s, 1, 1, "# \t", PARSE_NORMAL)) {
13 if (ENABLE_FEATURE_CLEAN_UP)