From: bert hubert Date: Fri, 29 Jan 2016 21:44:30 +0000 (+0100) Subject: some better reporting in create-slave-zone X-Git-Tag: dnsdist-1.0.0-alpha2~24^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3e3bef725036669c233dda89f0809160e75d141;p=pdns some better reporting in create-slave-zone --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index dba97071f..761e6cbb6 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1165,14 +1165,15 @@ int createSlaveZone(const vector& cmds) { cerr<<"Domain '"<setKind(zone, DomainInfo::Slave); - di.backend->setMaster(zone, cmds[2]); + di.backend->setMaster(zone, master.toStringWithPort()); return EXIT_SUCCESS; }