1
0
mirror of https://github.com/livingcomputermuseum/Darkstar.git synced 2026-05-01 22:16:46 +00:00

Tweaks for ncap (replacement for winpcap), small fix for ethernet controller.

This commit is contained in:
Josh Dersch
2019-02-21 18:31:14 -08:00
parent 45b84b5a61
commit 7ccd1f9e4c
3 changed files with 9 additions and 4 deletions

View File

@@ -137,8 +137,11 @@ namespace D.UI
{
foreach (WinPcapDevice device in CaptureDeviceList.Instance)
{
EthernetInterfaceListBox.Items.Add(
new EthernetInterface(device.Interface.FriendlyName, device.Interface.Description));
if (!string.IsNullOrWhiteSpace(device.Interface.FriendlyName))
{
EthernetInterfaceListBox.Items.Add(
new EthernetInterface(device.Interface.FriendlyName, device.Interface.Description));
}
}
}
else