From 3d870629f2c6044392c4816981bcbc57257d4e77 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 21 Sep 2014 00:53:16 +0200 Subject: [PATCH] Fixed ifconfig command typo --- src/pocketmine/utils/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/utils/Utils.php b/src/pocketmine/utils/Utils.php index 796420b2c..51ba74b73 100644 --- a/src/pocketmine/utils/Utils.php +++ b/src/pocketmine/utils/Utils.php @@ -75,7 +75,7 @@ class Utils{ $machine .= implode(" ", $matches[1]); //Mac Addresses } }elseif($os === "linux"){ - @exec("ifconfig /ALL", $mac); + @exec("ifconfig", $mac); $mac = implode("\n", $mac); if(preg_match_all("#HWaddr[ \t]{1,}([0-9a-f:]{17})#", $mac, $matches)){ foreach($matches[1] as $i => $v){ @@ -389,4 +389,4 @@ class Utils{ return $ret; } -} \ No newline at end of file +}