]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
edns_keepalive: fix loading of module
authorJosh Soref <jsoref@users.noreply.github.com>
Wed, 17 Nov 2021 07:47:11 +0000 (02:47 -0500)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 19 Nov 2021 13:50:58 +0000 (14:50 +0100)
Due to the typo in the EDNS keepalive init funcion name, the module
wouldn't be properly initialized after loading and wouldn't be
functional.

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
modules/edns_keepalive/edns_keepalive.c

index 3d379f51011dbdb8a52bce211f63ce2d49e09e09..609aa9d131b6e3ddf73cf4cdfccd989c6c0ae4b2 100644 (file)
@@ -48,7 +48,7 @@ static int edns_keepalive_finalize(kr_layer_t *ctx)
        return ctx->state;
 }
 
-KR_EXPORT int edns_keeapalive_init(struct kr_module *self)
+KR_EXPORT int edns_keepalive_init(struct kr_module *self)
 {
        static const kr_layer_api_t layer = {
                .answer_finalize = &edns_keepalive_finalize,