From e71709759a79b0204cbaa291cb9fd7a492664c12 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 9 Sep 2020 15:11:26 +0200 Subject: [PATCH] Parts is reused, so clear the names it might contain. (cherry picked from commit bc3d2b7386e058c39872a3aa74101283b6f1af45) --- pdns/pdns_recursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 8a7bdea54a..f029ec9959 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3880,6 +3880,7 @@ static int serviceMain(int argc, char*argv[]) } g_dontThrottleNames.setState(dontThrottleNames); + parts.clear(); NetmaskGroup dontThrottleNetmasks; stringtok(parts, ::arg()["dont-throttle-netmasks"], " ,"); for (const auto &p : parts) { -- 2.47.2