summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-06-13 15:45:55 +0100
committerRoy Marples <roy@marples.name>2017-06-13 15:45:55 +0100
commit0f915a099a10a2a6cf6827ad319fba7bab8ec345 (patch)
tree295ee081677eaa05aab1654f5feaac42e49c4e2f /hooks
parent5e2a0d28cb37abcab2ecfc687161609ef9e05f78 (diff)
downloaddhcpcd-0f915a099a10a2a6cf6827ad319fba7bab8ec345.tar.xz
Remove usesless comment.
Diffstat (limited to 'hooks')
-rw-r--r--hooks/dhcpcd-run-hooks.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/hooks/dhcpcd-run-hooks.in b/hooks/dhcpcd-run-hooks.in
index db971342..714491fc 100644
--- a/hooks/dhcpcd-run-hooks.in
+++ b/hooks/dhcpcd-run-hooks.in
@@ -211,8 +211,6 @@ valid_domainname()
[ -z "$label" -o ${#label} -gt 63 ] && return 1
case "$label" in
-*|_*|*-|*_) return 1;;
- # some sh require - as the first or last character in the class
- # when matching it
*[![:alnum:]_-]*) return 1;;
esac
[ "$name" = "${name#*.}" ] && break