Skip to content

Commit b328eb7

Browse files
fix(v0.3.1): Print cpature-device friendly name
1 parent 851a0b1 commit b328eb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dsian.TcPnScanner.CLI/CaptureDevices.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private static string PrintDeviceList(LibPcapLiveDeviceList devices)
5050
int i = 0;
5151
foreach (var dev in devices)
5252
{
53-
sb.AppendLine($"{i}) {dev.Name} {dev.Description}");
53+
sb.AppendLine($"{i}) {dev.Interface.Name} {dev.Interface.FriendlyName}");
5454
i++;
5555
}
5656
sb.AppendLine();

src/dsian.TcPnScanner.CLI/dsian.TcPnScanner.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Description>Scans a PROFINET and adds all Stations to a PROFINET IO Device (TF6270)</Description>
1919
<Copyright>Copyright (c) 2023 densogiaichned</Copyright>
2020
<Title>TwinCAT Profinet Device Scanner</Title>
21-
<Version>0.3.0</Version>
21+
<Version>0.3.1</Version>
2222
<AssemblyVersion>$(Version)</AssemblyVersion>
2323
<FileVersion>$(Version)</FileVersion>
2424
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>

0 commit comments

Comments
 (0)