fix variable name

pull/1319/head
Jeff Becker 4 years ago
parent 778792f8fc
commit c49e11031a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

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

Loading…
Cancel
Save