Skip to content

Commit

Permalink
Lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Jan 27, 2025
1 parent 901b30d commit 38922d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/platforms/windows/daemon/windowssplittunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <winsock2.h>
#include <ws2ipdef.h>

#include <qassert.h>

#include <memory>

#include "../windowscommons.h"
Expand All @@ -23,7 +21,6 @@
#include "windowsfirewall.h"

#define PSAPI_VERSION 2
#include <Windows.h>
#include <psapi.h>

#include <QCoreApplication>
Expand Down Expand Up @@ -513,8 +510,7 @@ bool WindowsSplitTunnel::getAddress(int adapterIndex, IN_ADDR* out_ipv4,
continue;
}
bestIpv4 = row;
}
else if (row->Address.si_family == AF_INET6) {
} else if (row->Address.si_family == AF_INET6) {
QHostAddress addr(row->Address.Ipv6.sin6_addr.s6_addr);
logger.debug() << "Examining IPv6 address:" << addr.toString();
// Check IPv6 addresses
Expand Down

0 comments on commit 38922d3

Please sign in to comment.