From 4818bc127e49c744ce5deb443d82a6d2a7cecf1d Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 21 Sep 2016 01:59:45 +0200 Subject: [PATCH] Fix wrong filtering --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 5eeb3d0..8fc6653 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ namespace { using boost::adaptors::filtered; auto redirs_to_host = parActiveRedirs | - filtered([&](const kuu::Redirection& r) { return parHost == r.remote_host; }); + filtered([&](const kuu::Redirection& r) { return parHost == r.internal_client; }); for (const auto& redir : redirs_to_host) { auto it_found = std::find_if(