fix munin script
[linksys-wrt3g-tools.git] / scripts / munin.php
index f9bf147a4577f72f94951ec0de80b652787cc85b..cf7892f9459f09c90fc3236cc92f4e58f7ad366c 100755 (executable)
@@ -54,7 +54,7 @@ try {
     $router->user     = $GLOBALS['linksys-wrt3g-tools']['user'];
     $router->password = $GLOBALS['linksys-wrt3g-tools']['password'];
 
-    $arStatus = $router->getStatus();
+    $arStatus = $router->getConnectionStatus();
 
     $conn = $arStatus['connection'];
     if ($conn == 'disconnected') {