Explorar el Código

actually send 'down' parameter

clementinecomputing hace 6 años
padre
commit
4757e4f753
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      busunit/DIUv2/html/js/diu_ui-ORG.js

+ 1 - 1
busunit/DIUv2/html/js/diu_ui-ORG.js

@@ -999,7 +999,7 @@ function _custom0() {
 }
 
 function _custom1() {
-  _api_request("interfaceupdown", {"interface":"eth0", "state":"up"}, function(inp) { console.log("custom1 ok:", inp); }, function(inp) { console.log("custom1 error:", inp); });
+  _api_request("interfaceupdown", {"interface":"eth0", "state":"down"}, function(inp) { console.log("custom1 ok:", inp); }, function(inp) { console.log("custom1 error:", inp); });
 }
 
 function _update_diagnostic_window(_msg) {