change touser login in gen_DXProt
authorminima <minima>
Sat, 12 Mar 2005 10:28:59 +0000 (10:28 +0000)
committerminima <minima>
Sat, 12 Mar 2005 10:28:59 +0000 (10:28 +0000)
perl/DXProtVars.pm
perl/Thingy/Ping.pm

index 05f02bb70cba567105350d86f386b422d0ab0e2b..95acac91d1354fb183c6f1e8d811911f77875a91 100644 (file)
@@ -15,7 +15,7 @@ package DXProt;
 $pc50_interval = 14*60;
 
 # the version of DX cluster (tm) software I am masquerading as
-$myprot_version = 5252;
+$myprot_version = 5253;
 
 # default hopcount to use
 $def_hopcount = 30;
index a1ab4599fa4cebe310fb60774c5369a6851c61e7..902347dc30ec3a8f176bf9c30189d56407acc7b0 100644 (file)
@@ -59,7 +59,7 @@ sub gen_DXProt
            $from ||= $thing->{user} if Route::Node::get($thing->{user});
                $from ||= $thing->{origin};
                my $to = $thing->{o} unless $thing->{out};
-               $to ||= $thing->{touser} if Route::Node::get($thing->{touser});
+               $to ||= $thing->{touser} unless Route::User::get($thing->{touser});
                $to ||= $thing->{group};