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
1 changed files with 1 additions and 1 deletions

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));
}
}