small modification to network card

This commit is contained in:
Tim Young 2015-11-16 17:02:03 -05:00
parent be5005888f
commit 283fb8256a
2 changed files with 4 additions and 4 deletions

View File

@ -363,9 +363,9 @@ namespace EduNetworkBuilder
if (nIF.isLocal(theIP))
{
if(Tracker != null)
Tracker.AddMessage(DebugLevel.routing, myID.HostName, string.Format(NB.Translate("NC_FoundLocalIP"), nIF.myIP.GetIP.ToIpString(), nIF.myIP.GetMask.ToIpString()));
Tracker.AddMessage(DebugLevel.routing, myID.HostName, string.Format(NB.Translate("NC_FoundLocalIF"), nIF.myIP.GetIP.ToIpString(), nIF.myIP.GetMask.ToIpString()));
if (Tracker != null && theIP != null)
Tracker.AddMessage(DebugLevel.routing, myID.HostName, " " + string.Format(NB.Translate("NC_IpOfLocal"),theIP.GetIPString, theIP.GetGateway.ToIpString()));
Tracker.AddMessage(DebugLevel.routing, myID.HostName, " " + string.Format(NB.Translate("NC_IfOfLocal"),theIP.GetIPString, theIP.GetGateway.ToIpString()));
return nIF;
}
}

View File

@ -953,11 +953,11 @@
<value>--Static Routes (Read/Write)--</value>
<comment>LBW_UpdateFormStatRout = --Static Routes (Read/Write)--</comment>
</data>
<data name="NC_FoundLocalIP" xml:space="preserve">
<data name="NC_FoundLocalIF" xml:space="preserve">
<value>Found local interface: ip {0} gw {1}</value>
<comment>NC_FoundLocalIP = Found local interface: ip {0} gw {1}</comment>
</data>
<data name="NC_IpOfLocal" xml:space="preserve">
<data name="NC_IfOfLocal" xml:space="preserve">
<value>IP of local: {0} {1}</value>
<comment>NC_IpOfLocal = IP of local: {0} {1}</comment>
</data>