mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
e20a357340
commit
1aaadd6228
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue