]> granicus.if.org Git - pdns/commitdiff
remotebackend: Fix incorrect parameter name
authorAki Tuomi <cmouse@cmouse.fi>
Sun, 12 Feb 2017 08:32:27 +0000 (10:32 +0200)
committerAki Tuomi <cmouse@cmouse.fi>
Sun, 12 Feb 2017 08:32:27 +0000 (10:32 +0200)
modules/remotebackend/remotebackend.cc

index ac5d131b975c0335dad387f29b8976e0fb2654ed..d1ff07af0494cc3729bf53944bfe64863a6ef2dc 100644 (file)
@@ -214,8 +214,8 @@ bool RemoteBackend::list(const DNSName& target, int domain_id, bool include_disa
      { "method", "list" },
      { "parameters", Json::object{
        { "zonename", target.toString() },
-       { "domain-id", domain_id },
-       { "include-disabled", include_disabled }
+       { "domain_id", domain_id },
+       { "include_disabled", include_disabled }
      }}
    };