summaryrefslogtreecommitdiff
path: root/includes/utils.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/utils.php')
-rw-r--r--includes/utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/utils.php b/includes/utils.php
index 887f0d5..96982ea 100644
--- a/includes/utils.php
+++ b/includes/utils.php
@@ -154,7 +154,7 @@ function match_ipv6($ip, $ip_only = true) {
*/
function match_hostname($hostname) {
// That's an IP address so it is not a valid hostname.
- if (match_ipv4($hostame) || match_ipv6($hostname)) {
+ if (match_ipv4($hostname) || match_ipv6($hostname)) {
return false;
}