Browse Source

[php] gethostbyaddress -> gethostbyaddr (closes #3259)

Simon Krajewski 11 years ago
parent
commit
721ce125d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/php/_std/sys/net/Host.hx

+ 1 - 1
std/php/_std/sys/net/Host.hx

@@ -46,7 +46,7 @@ class Host {
 	}
 	}
 
 
 	public function reverse() : String {
 	public function reverse() : String {
-		return untyped __call__('gethostbyaddress', _ip);
+		return untyped __call__('gethostbyaddr', _ip);
 	}
 	}
 
 
 	public static function localhost() : String {
 	public static function localhost() : String {