1
0
Fork 0
mirror of https://bitbucket.org/King_DuckZ/keepupnpup.git synced 2024-11-07 21:29:00 +00:00

Fix wrong filtering

This commit is contained in:
King_DuckZ 2016-09-21 01:59:45 +02:00
parent c1743c65da
commit 4818bc127e

View file

@ -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(