fix munin script
authorChristian Weiske <cweiske@cweiske.de>
Fri, 17 Dec 2010 23:22:26 +0000 (00:22 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 17 Dec 2010 23:22:26 +0000 (00:22 +0100)
scripts/munin.php

index f9bf147..cf7892f 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') {