← Commit list

8efcc9589

Denys Vlasenko
Denys Vlasenko
2016-02-11
SUCCESS Duration: 256s

Subject

networking: allow dot at the end of the domain name in dhcp response

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/udhcp/dhcpc.c+2 -0
@@ -201,6 +201,8 @@ static int good_hostname(const char *name)
//Do we want this?
//return ((name - start) < 1025); /* NS_MAXDNAME */
name++;
+ if (*name == '\0')
+ return 1; // We allow trailing dot too
}
}
#else