diff --git a/llarp/win32/windivert.cpp b/llarp/win32/windivert.cpp index 4dba692fe..5507234b7 100644 --- a/llarp/win32/windivert.cpp +++ b/llarp/win32/windivert.cpp @@ -23,7 +23,6 @@ namespace llarp::win32 { namespace { - decltype(::WinDivertOpen)* open = nullptr; decltype(::WinDivertClose)* close = nullptr; decltype(::WinDivertShutdown)* shutdown = nullptr; @@ -126,8 +125,7 @@ namespace llarp::win32 return -1; } - virtual bool - WritePacket(net::IPPacket) override + virtual bool WritePacket(net::IPPacket) override { return false; } diff --git a/llarp/win32/wintun.hpp b/llarp/win32/wintun.hpp index 155ee5554..1d2e7a7dc 100644 --- a/llarp/win32/wintun.hpp +++ b/llarp/win32/wintun.hpp @@ -17,8 +17,6 @@ namespace llarp::win32::wintun { /// makes a new vpn interface with a wintun context given info and a router pointer std::shared_ptr - make_interface( - const vpn::InterfaceInfo& info, - AbstractRouter* router); + make_interface(const vpn::InterfaceInfo& info, AbstractRouter* router); -} // namespace llarp::win32 +} // namespace llarp::win32::wintun