diff --git a/src/knot/modules/geoip/geoip.c b/src/knot/modules/geoip/geoip.c index 84595adb8..d3911a816 100644 --- a/src/knot/modules/geoip/geoip.c +++ b/src/knot/modules/geoip/geoip.c @@ -591,7 +591,7 @@ static int geo_conf_yparse(check_ctx_t *check, geoip_ctx_t *ctx) ret = KNOT_ENOMEM; goto cleanup; } - if (zs_init(scanner, NULL, KNOT_CLASS_IN, ctx->ttl) != 0) { + if (zs_init(scanner, ".", KNOT_CLASS_IN, ctx->ttl) != 0) { ret = KNOT_EPARSEFAIL; goto cleanup; } diff --git a/src/utils/keymgr/offline_ksk.c b/src/utils/keymgr/offline_ksk.c index 436ca1bc2..35a00b99b 100644 --- a/src/utils/keymgr/offline_ksk.c +++ b/src/utils/keymgr/offline_ksk.c @@ -507,7 +507,7 @@ static int read_ksr_skr(kdnssec_ctx_t *ctx, const char *infile, void (*cb_header)(zs_scanner_t *), void (*cb_record)(zs_scanner_t *)) { zs_scanner_t sc = { 0 }; - int ret = zs_init(&sc, "", KNOT_CLASS_IN, 0); + int ret = zs_init(&sc, ".", KNOT_CLASS_IN, 0); if (ret < 0) { return KNOT_ERROR; }