浏览代码

actually send 'down' parameter

clementinecomputing 6 年之前
父节点
当前提交
4757e4f753
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {