Fix Wireless repeater issue.
This commit is contained in:
parent
3847a90f70
commit
e239a1873d
@ -449,13 +449,13 @@ namespace EduNetworkBuilder
|
|||||||
newNic = new NetworkCard(Individual);
|
newNic = new NetworkCard(Individual);
|
||||||
//if (myType == NetworkComponentType.wap && newNic.GetNicType == NicType.eth)
|
//if (myType == NetworkComponentType.wap && newNic.GetNicType == NicType.eth)
|
||||||
//{
|
//{
|
||||||
// //This happened once upon a time. Waps did not have management interfaces.
|
// //This happened once upon a time. Waps did not have management interfaces.
|
||||||
// //Make a management interface for the wap and move the IP from the eth to that.
|
// //Make a management interface for the wap and move the IP from the eth to that.
|
||||||
// //Then, change the nic to a port instead of an eth.
|
// //Then, change the nic to a port instead of an eth.
|
||||||
// NetworkCard tNic = new NetworkCard(newNic);
|
// NetworkCard tNic = new NetworkCard(newNic);
|
||||||
// tNic.ChangeType(NicType.management_interface);
|
// tNic.ChangeType(NicType.management_interface);
|
||||||
// NICs.Add(tNic);
|
// NICs.Add(tNic);
|
||||||
// newNic.ChangeType(NicType.port);
|
// newNic.ChangeType(NicType.port);
|
||||||
//}
|
//}
|
||||||
NICs.Add(newNic);
|
NICs.Add(newNic);
|
||||||
break;
|
break;
|
||||||
@ -1887,7 +1887,8 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
NicType NT = nic.GetNicType;
|
NicType NT = nic.GetNicType;
|
||||||
//bridges and waps are basically switches
|
//bridges and waps are basically switches
|
||||||
if ((myType == NetworkComponentType.wap || myType == NetworkComponentType.wbridge) && NT != NicType.management_interface)
|
if ((myType == NetworkComponentType.wap || myType == NetworkComponentType.wbridge
|
||||||
|
|| myType == NetworkComponentType.wrepeater) && NT != NicType.management_interface)
|
||||||
NT = NicType.port;
|
NT = NicType.port;
|
||||||
switch(NT)
|
switch(NT)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user