summaryrefslogtreecommitdiff
path: root/src/basic/hostname-util.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-11-19 02:27:10 +0100
committerTom Gundersen <teg@jklm.no>2015-11-19 02:27:10 +0100
commitdc9715d41998be6d9e7037955894ff8022d95e71 (patch)
tree2c420020f7364457f5d7ad1bbac5d719fdb45e3d /src/basic/hostname-util.c
parent854c1123f5fb6704e900d34c0165360f77ce4ef8 (diff)
parent06d91ad77eb81a63f3228a21affdb560bf7947c9 (diff)
Merge pull request #1931 from bengal/dhcp-fqdn-v2
libsystemd-network: add support for "Client FQDN" DHCP option (v2)
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r--src/basic/hostname-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c
index ea0528c6fc..c57a3cbd60 100644
--- a/src/basic/hostname-util.c
+++ b/src/basic/hostname-util.c
@@ -72,7 +72,7 @@ static bool hostname_valid_char(char c) {
* allow_trailing_dot is true and at least two components are present
* in the name. Note that due to the restricted charset and length
* this call is substantially more conservative than
- * dns_domain_is_valid().
+ * dns_name_is_valid().
*/
bool hostname_is_valid(const char *s, bool allow_trailing_dot) {
unsigned n_dots = 0;