Opravy
This commit is contained in:
@@ -492,8 +492,8 @@ namespace Mip
|
||||
string IPaddress = "";
|
||||
PingReply pingReply;
|
||||
|
||||
IPaddress = "192.168.1.12"; //IP Adresa MariaDB pre VLAN1
|
||||
|
||||
IPaddress = Debugger.IsAttached ? "192.168.2.12" : "192.168.1.12"; //IP Adresa MariaDB pre VLAN1
|
||||
|
||||
//ked sa programuje mino firmu aby to hned naslo staticku ip
|
||||
//IPaddress = "87.197.164.107";
|
||||
|
||||
@@ -501,11 +501,11 @@ namespace Mip
|
||||
if (pingReply.Status.ToString() == "Success")
|
||||
{
|
||||
classUser.MariaDBServerIPAddress = IPaddress;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
IPaddress = "192.168.1.13"; //IP Adresa MariaDB pre VLAN2
|
||||
IPaddress = Debugger.IsAttached? "192.168.2.13" : "192.168.1.13"; //IP Adresa MariaDB pre VLAN2
|
||||
|
||||
pingReply = pingIP.Send(IPaddress);
|
||||
if (pingReply.Status.ToString() == "Success")
|
||||
{
|
||||
@@ -528,7 +528,6 @@ namespace Mip
|
||||
+ "Program Mip bude ukončený! ");
|
||||
|
||||
Environment.Exit(0);
|
||||
|
||||
}
|
||||
//IPaddress = "87.197.164.107";
|
||||
//pingReply = pingIP.Send(IPaddress);
|
||||
|
||||
Reference in New Issue
Block a user