# more details.
#
# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 675
-# Mass Ave, Cambridge, MA 02139, USA.
+# this program; if not, see <http://www.gnu.org/licenses/>.
#
#
my $server;
my $num_targets = 1;
my $startnum; # if empty, don't add numbers to prefix
-my $prefix = $target_type; # name-prefix
+my $prefix; # name-prefix
my $path; # path to rpcclient command
my $rpccli_path = $rpccli_cmd;
my $creds;
if (exists($options{p})) {
$prefix = $options{p};
+} else {
+ $prefix = $target_type;
}
if (exists($options{P})) {