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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user