登录时增加网络类型nettype
This commit is contained in:
parent
b14393934e
commit
ff99cc98b9
|
@ -300,7 +300,9 @@ void LinkClient::Login()
|
|||
json.Add("agent", Sys.Name);
|
||||
json.Add("version", Version(Sys.Ver).ToString());
|
||||
|
||||
json.Add("ip", Master->Host->IP.ToString());
|
||||
auto host = Master->Host;
|
||||
json.Add("ip", host->IP.ToString());
|
||||
json.Add("nettype", host->Name);
|
||||
|
||||
Invoke("Device/Login", json);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue