mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 19:15:46 +00:00
network_interface: correct formatting
This commit is contained in:
parent
9701ec5ddf
commit
12499a34e6
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ std::vector<NetworkInterface> GetAvailableNetworkInterfaces() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct in_addr gateway{.S_un{.S_addr{0}}};
|
struct in_addr gateway = {.S_un{.S_addr{0}}};
|
||||||
if (current_address->FirstGatewayAddress != nullptr &&
|
if (current_address->FirstGatewayAddress != nullptr &&
|
||||||
current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) {
|
current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) {
|
||||||
gateway = Common::BitCast<struct sockaddr_in>(
|
gateway = Common::BitCast<struct sockaddr_in>(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue