Fixed wireless devices start with DHCP.
This commit is contained in:
parent
9b82f0ccd5
commit
ebff42b88c
@ -72,7 +72,7 @@ namespace EduNetworkBuilder
|
|||||||
if (what == NetworkComponentType.laptop )
|
if (what == NetworkComponentType.laptop )
|
||||||
{
|
{
|
||||||
tnic = new NetworkCard(NICs.Count(), GetUniqueIdentifier, hostname,NicType.wlan); //Add a wireless nic
|
tnic = new NetworkCard(NICs.Count(), GetUniqueIdentifier, hostname,NicType.wlan); //Add a wireless nic
|
||||||
tnic.SetIPForDHCP();
|
tnic.UsesDHCP = true;
|
||||||
NICs.Add(tnic);
|
NICs.Add(tnic);
|
||||||
}
|
}
|
||||||
if (what == NetworkComponentType.wbridge)
|
if (what == NetworkComponentType.wbridge)
|
||||||
@ -159,7 +159,7 @@ namespace EduNetworkBuilder
|
|||||||
tnic = new NetworkCard(0, GetUniqueIdentifier, hostname, NicType.lo);
|
tnic = new NetworkCard(0, GetUniqueIdentifier, hostname, NicType.lo);
|
||||||
NICs.Add(tnic);
|
NICs.Add(tnic);
|
||||||
tnic = new NetworkCard(0, GetUniqueIdentifier, hostname, NicType.wlan);
|
tnic = new NetworkCard(0, GetUniqueIdentifier, hostname, NicType.wlan);
|
||||||
tnic.SetIPForDHCP();
|
tnic.UsesDHCP = true;
|
||||||
NICs.Add(tnic);
|
NICs.Add(tnic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user