Update a stored e metodi x evitare race conditions su scrittura remoteRebootLog
This commit is contained in:
@@ -1156,7 +1156,6 @@ namespace MP.IOC.Controllers
|
||||
// recupero IP del client remoto, se vuoto IOC
|
||||
string agent = Request.Headers["User-Agent"].ToString() ?? "IOC";
|
||||
agent = string.IsNullOrWhiteSpace(agent) ? "IOC" : agent;
|
||||
//var ipv4 = HttpContext.Connection.RemoteIpAddress?.ToString();
|
||||
var ipv4 = HttpContext.Connection.RemoteIpAddress?.MapToIPv4().ToString();
|
||||
|
||||
// chiamo registrazione reboot
|
||||
|
||||
Reference in New Issue
Block a user