Skip to content

Commit 57d578a

Browse files
Update Source/NETworkManager/ViewModels/IPScannerViewModel.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c800f19 commit 57d578a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/NETworkManager/ViewModels/IPScannerViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ private async Task DetectSubnet()
555555
.First(x => x.IPv4Address.Any(y => y.Item1.Equals(localIP)));
556556

557557
// If found, get subnetmask
558-
if (networkInterface != null) {
558+
if (networkInterface != null)
559+
{
559560

560561
// Find the correct IP address and the associated subnetmask
561562
var ipAddressWithSubnet = networkInterface.IPv4Address.First(x => x.Item1.Equals(localIP));

0 commit comments

Comments
 (0)