Fix a bug where resetting a switch did not reset the vlans on the switch

This commit is contained in:
2018-10-17 14:38:42 -05:00
parent f2c2f9bb96
commit 17b127d69d
5 changed files with 23 additions and 6 deletions

View File

@ -1350,7 +1350,8 @@ namespace EduNetworkBuilder
private void pbNetworkView_Reset_Click(object sender, EventArgs e)
{
if (ItemClickedOn == null) return;
ItemClickedOn.ClearIPs(); //reset the device
//ItemClickedOn.ClearIPs(); //reset the device
NB.DoActionResetDevice(ItemClickedOn.GetUniqueIdentifier);
UpdateVisuals();
}