From 1a3c26c5ff9128ef264a8c25f0c90872931a9de5 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Sun, 1 Nov 2015 19:50:44 -0500 Subject: [PATCH] Fixed issue with wbridge stripping off the gateway MAC. Treat wbridge as a hub/switch. --- EduNetworkBuilder/NetworkDevice.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetworkDevice.cs b/EduNetworkBuilder/NetworkDevice.cs index d77b55c..4d5d119 100644 --- a/EduNetworkBuilder/NetworkDevice.cs +++ b/EduNetworkBuilder/NetworkDevice.cs @@ -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) {