1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

fix variable name

This commit is contained in:
Jeff Becker 2020-08-10 14:19:37 -04:00
parent 778792f8fc
commit c49e11031a
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -406,7 +406,7 @@ GetGatewaysNotOnInterface(std::string ifname)
if (pos != std::string::npos)
{
auto gateway = line_str.substr(0, pos);
if (gateway != interface)
if (gateway != ifname)
gateways.emplace_back(std::move(gateway));
}
}