mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
@@ -814,6 +814,7 @@ namespace MeshCentralRouter
|
||||
MapUserControl map = new MapUserControl();
|
||||
map.xdebug = debug;
|
||||
map.inaddrany = inaddrany;
|
||||
map.ruleName = form.getRuleName();
|
||||
map.protocol = form.getProtocol();
|
||||
map.localPort = form.getLocalPort();
|
||||
map.remotePort = form.getRemotePort();
|
||||
@@ -941,6 +942,7 @@ namespace MeshCentralRouter
|
||||
MapUserControl map = new MapUserControl();
|
||||
map.xdebug = debug;
|
||||
map.inaddrany = inaddrany;
|
||||
map.ruleName = form.getRuleName();
|
||||
map.protocol = form.getProtocol();
|
||||
map.localPort = form.getLocalPort();
|
||||
map.remotePort = form.getRemotePort();
|
||||
@@ -1241,6 +1243,7 @@ namespace MeshCentralRouter
|
||||
MapUserControl map = new MapUserControl();
|
||||
map.xdebug = debug;
|
||||
map.inaddrany = inaddrany;
|
||||
map.ruleName = x["ruleName"].ToString();
|
||||
map.protocol = (int)x["protocol"];
|
||||
map.localPort = (int)x["localPort"];
|
||||
if (x.ContainsKey("remoteIP")) { map.remoteIP = (string)x["remoteIP"]; }
|
||||
@@ -1282,6 +1285,7 @@ namespace MeshCentralRouter
|
||||
MeshMapper map = ((MapUserControl)c).mapper;
|
||||
if (mapCounter == 0) { text += " {\r\n"; } else { text += ",\r\n {\r\n"; }
|
||||
text += " \"nodeName\": \"" + mapCtrl.node.name + "\",\r\n";
|
||||
text += " \"ruleName\": \"" + mapCtrl.ruleName + "\",\r\n";
|
||||
text += " \"meshId\": \"" + mapCtrl.node.meshid + "\",\r\n";
|
||||
text += " \"nodeId\": \"" + mapCtrl.node.nodeid + "\",\r\n";
|
||||
text += " \"appId\": " + mapCtrl.appId + ",\r\n";
|
||||
|
||||
Reference in New Issue
Block a user