small modification to network card
This commit is contained in:
parent
be5005888f
commit
283fb8256a
@ -363,9 +363,9 @@ namespace EduNetworkBuilder
|
|||||||
if (nIF.isLocal(theIP))
|
if (nIF.isLocal(theIP))
|
||||||
{
|
{
|
||||||
if(Tracker != null)
|
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)
|
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;
|
return nIF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -953,11 +953,11 @@
|
|||||||
<value>--Static Routes (Read/Write)--</value>
|
<value>--Static Routes (Read/Write)--</value>
|
||||||
<comment>LBW_UpdateFormStatRout = --Static Routes (Read/Write)--</comment>
|
<comment>LBW_UpdateFormStatRout = --Static Routes (Read/Write)--</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="NC_FoundLocalIP" xml:space="preserve">
|
<data name="NC_FoundLocalIF" xml:space="preserve">
|
||||||
<value>Found local interface: ip {0} gw {1}</value>
|
<value>Found local interface: ip {0} gw {1}</value>
|
||||||
<comment>NC_FoundLocalIP = Found local interface: ip {0} gw {1}</comment>
|
<comment>NC_FoundLocalIP = Found local interface: ip {0} gw {1}</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="NC_IpOfLocal" xml:space="preserve">
|
<data name="NC_IfOfLocal" xml:space="preserve">
|
||||||
<value>IP of local: {0} {1}</value>
|
<value>IP of local: {0} {1}</value>
|
||||||
<comment>NC_IpOfLocal = IP of local: {0} {1}</comment>
|
<comment>NC_IpOfLocal = IP of local: {0} {1}</comment>
|
||||||
</data>
|
</data>
|
||||||
|
Loading…
Reference in New Issue
Block a user