mirror of https://github.com/oxen-io/lokinet
fix variable name
This commit is contained in:
parent
778792f8fc
commit
c49e11031a
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue