Minor syntax fixes
This commit is contained in:
parent
306b6b8424
commit
0340b8700e
@ -1982,15 +1982,15 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
if (tPacket.MyType == PacketType.dhcp_answer)
|
||||
{
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + string.Format(NB.Translate("ND_PrepPackGtewyErr")) + " " + tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + string.Format(NB.Translate("ND_PrepPackGtewyErr"));
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + " " + string.Format(NB.Translate("ND_PrepPackGtewyErr")) + " " + tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + " " + string.Format(NB.Translate("ND_PrepPackGtewyErr"));
|
||||
tPacket.MyStatus = PacketStatus.finished_failed;
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + string.Format(NB.Translate("ND_PrepPackRoutErr")) +" "+ tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + NB.Translate("ND_PrepPackRoutErr");
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + " " + string.Format(NB.Translate("ND_PrepPackRoutErr")) +" "+ tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + " " + NB.Translate("ND_PrepPackRoutErr");
|
||||
tPacket.MyStatus = PacketStatus.finished_failed;
|
||||
return false;
|
||||
}
|
||||
@ -2003,8 +2003,8 @@ namespace EduNetworkBuilder
|
||||
tPacket.OutboundNic = LocalNic(tPacket.OutboundIP);
|
||||
if (tPacket.OutboundNic == null)
|
||||
{
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + string.Format(NB.Translate("ND_PrepPackNICErr")) + " :"+ tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + NB.Translate("ND_PrepPackNICErr");
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + " " + string.Format(NB.Translate("ND_PrepPackNICErr")) + " :"+ tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + " " + NB.Translate("ND_PrepPackNICErr");
|
||||
tPacket.MyStatus = PacketStatus.finished_failed;
|
||||
return false;
|
||||
}
|
||||
@ -2015,8 +2015,8 @@ namespace EduNetworkBuilder
|
||||
tPacket.OutboundIF = tPacket.OutboundNic.LocalInterface(tPacket.OutboundIP, tPacket.Tracking);
|
||||
if (tPacket.OutboundIF == null)
|
||||
{
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + string.Format(NB.Translate("ND_PrepPackRoutErr")) + " :" + tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + NB.Translate("ND_PrepPackRoutErr");
|
||||
tPacket.AddMessage(DebugLevel.info, hostname + " " + string.Format(NB.Translate("ND_PrepPackRoutErr")) + " :" + tPacket.OutboundIP.GetIP.ToIpString());
|
||||
tPacket.Tracking.Status = hostname + " " + NB.Translate("ND_PrepPackRoutErr");
|
||||
tPacket.MyStatus = PacketStatus.finished_failed;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user