mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
DEV9: Make DHCP_Server::GetGatewaysLinux() public
Needed for auto adapter on linux, if only to check if an adapter has a gateway
This commit is contained in:
1 parent
e20a357340
commit
1aaadd6228
1 file changed
+4
-3
@@ -61,14 +61,15 @@ namespace InternalServers
|
||||
PacketReader::IP::UDP::UDP_Packet* Recv();
|
||||
bool Send(PacketReader::IP::UDP::UDP_Packet* payload);
|
||||
|
||||
#ifdef __linux__
|
||||
static std::vector<PacketReader::IP::IP_Address> GetGatewaysLinux(char* interfaceName);
|
||||
#endif
|
||||
|
||||
~DHCP_Server();
|
||||
|
||||
private:
|
||||
#ifdef __POSIX__
|
||||
static std::vector<std::string> SplitString(std::string str, char delimiter);
|
||||
#ifdef __linux__
|
||||
static std::vector<PacketReader::IP::IP_Address> GetGatewaysLinux(char* interfaceName);
|
||||
#endif
|
||||
static std::vector<PacketReader::IP::IP_Address> GetDNSUnix();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user