]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_11] fixed build failure when building without LMDB
authorEvan Hunt <each@isc.org>
Thu, 2 Feb 2017 19:24:57 +0000 (11:24 -0800)
committerEvan Hunt <each@isc.org>
Thu, 2 Feb 2017 19:24:57 +0000 (11:24 -0800)
(cherry picked from commit 8acbf7e4de99bbc4867b02ed87dbbc3761a57ca5)

bin/named/server.c

index 28105d3d557e3d893f4e70cf325cabea6fd6ef09..08ebad0758ed2b8785ec3d364687953f96e68ed3 100644 (file)
@@ -12250,8 +12250,8 @@ ns_server_showzone(ns_server_t *server, isc_lex_t *lex, isc_buffer_t **text) {
 
 #ifndef HAVE_LMDB
        if (zconfig == NULL && cfg->nzf_config != NULL)
-               zconfig = find_name_in_list_from_map(cfg->nzf_config,
-                                                    "zone", zonename);
+               zconfig = find_name_in_list_from_map(cfg->nzf_config, "zone",
+                                                    zonename, redirect);
 #else /* HAVE_LMDB */
        if (zconfig == NULL) {
                const cfg_obj_t *zlist = NULL;