Fixed issue with wbridge stripping off the gateway MAC. Treat wbridge as a hub/switch.

This commit is contained in:
Tim Young 2015-11-01 19:50:44 -05:00
parent 4402edfa09
commit 1a3c26c5ff

View File

@ -1355,7 +1355,8 @@ namespace EduNetworkBuilder
foreach(NetworkCard nic in NICs)
{
NicType NT = nic.GetNicType;
if (myType == NetworkComponentType.wap)
//bridges and waps are basically switches
if (myType == NetworkComponentType.wap || myType == NetworkComponentType.wbridge)
NT = NicType.port;
switch(NT)
{