From c49e11031aee2bdefaa89b3dd2d3befe24d01699 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 10 Aug 2020 14:19:37 -0400 Subject: [PATCH] fix variable name --- daemon/lokinet-vpn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/lokinet-vpn.cpp b/daemon/lokinet-vpn.cpp index 9d5e536de..ac75a4069 100644 --- a/daemon/lokinet-vpn.cpp +++ b/daemon/lokinet-vpn.cpp @@ -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)); } }