forgot hunk

This commit is contained in:
Jeff Becker 2020-08-10 11:32:23 -04:00
parent 04392a5115
commit 45b6fcd7cb
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ GetGatewaysNotOnInterface(std::string ifname)
{
std::array<char, 128> gateway_str{};
strcpy_s(gateway_str.data(), gateway_str.size(), inet_ntoa(gateway));
gateways.emplace_back(gateway_str);
gateways.emplace_back(gateway_str.data());
}
}
#undef MALLOC