From: Remi Gacogne Date: Thu, 22 May 2025 15:17:10 +0000 (+0200) Subject: dnsdist: Fix a typo spotted by Miod (many, many thanks) X-Git-Tag: dnsdist-2.0.0-alpha2~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d55f1fd061b19d10d47a2bda187fb7bd253610;p=thirdparty%2Fpdns.git dnsdist: Fix a typo spotted by Miod (many, many thanks) --- diff --git a/pdns/dnsdistdist/dnsdist-rules-generator.py b/pdns/dnsdistdist/dnsdist-rules-generator.py index de32dca838..830c684f7c 100644 --- a/pdns/dnsdistdist/dnsdist-rules-generator.py +++ b/pdns/dnsdistdist/dnsdist-rules-generator.py @@ -253,7 +253,7 @@ def generate_lua_selectors_bindings(definitions): for selector in definitions: if 'skip-cpp' in selector and selector['skip-cpp']: continue - if 'skip-lua' in action and action['skip-lua']: + if 'skip-lua' in selector and selector['skip-lua']: continue name = get_cpp_object_name(selector['name']) output = f'luaCtx.writeFunction("{name}Rule", []('