]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
daemon/bindings: keep the pattern for function names
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 29 Mar 2018 11:15:08 +0000 (13:15 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 4 Apr 2018 07:10:35 +0000 (09:10 +0200)
daemon/bindings.c

index 361b66cc7bc8d43f9f77e1953175528f8db05783..b9045b358ac4e2f81d9c88dd0b44092253f39377 100644 (file)
@@ -1121,7 +1121,7 @@ static int cache_get(lua_State *L)
  * Servers with score >= KR_NS_TIMEOUTED will be cleaned after
  * this interval ended up, so that they will be able to participate
  * in NS elections again. */
-static int cache_touted_ns_clean_interval(lua_State *L)
+static int cache_ns_tout(lua_State *L)
 {
        struct engine *engine = engine_luaget(L);
        struct kr_context *ctx = &engine->resolver;
@@ -1164,7 +1164,7 @@ int lib_cache(lua_State *L)
                { "get",    cache_get },
                { "max_ttl", cache_max_ttl },
                { "min_ttl", cache_min_ttl },
-               { "ns_tout", cache_touted_ns_clean_interval },
+               { "ns_tout", cache_ns_tout },
                { NULL, NULL }
        };