add set/dxcq and set/dxitu commands
[spider.git] / cmd / show / db0sdx.pl
index 2c5700448d7beb454f404650d4d2fc2edb48f64e..c90ecf976215f810ed64f30c520437509ee6dd3b 100644 (file)
@@ -20,6 +20,8 @@ my $cmdprompt = '/query->.*$/';
 my($info, $t);
                                     
 $t = new Net::Telnet;
+
+dbg("db0sdx: contacting $target:$port") if isdbg('db0sdx');
 $info =  $t->open(Host    => $target,
                  Port    => $port,
                  Timeout => 15);
@@ -28,6 +30,8 @@ if (!$info) {
        push @out, $self->msg('e18', 'DB0SDX Database server');
 } else {
 
+       dbg("db0sdx: connected to $target:$port") if isdbg('db0sdx');
+
        my $s = qq(<?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>