summaryrefslogtreecommitdiffstats
path: root/src/basic/hostname-util.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-11-17 14:08:37 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2015-11-17 15:06:01 +0100
commit06d91ad77eb81a63f3228a21affdb560bf7947c9 (patch)
tree342d52eb5ae24fbc3c1bdba6ebd188009880766b /src/basic/hostname-util.c
parentlibsystemd-network: add support for "Client FQDN" DHCP option (diff)
downloadsystemd-06d91ad77eb81a63f3228a21affdb560bf7947c9.tar.xz
systemd-06d91ad77eb81a63f3228a21affdb560bf7947c9.zip
hostname-util: fix code comment
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;