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(