X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2Fclient.pl;h=9c4fc0f5088a9b39d76cfe51592a295d5701ccc9;hp=5b35ee2dc83fb98c236d9f0055766f93eaf973de;hb=ab568d677a2d2243eabee315b3e609c4ea4f73a0;hpb=b473fa8950fc9a6b747be44434569dec254b0897 diff --git a/perl/client.pl b/perl/client.pl index 5b35ee2d..9c4fc0f5 100755 --- a/perl/client.pl +++ b/perl/client.pl @@ -293,7 +293,16 @@ $call = uc $myalias if !$call; $connsort = lc shift @ARGV; $connsort = 'local' if !$connsort; -$mode = ($connsort =~ /^ax/o) ? 1 : 2; +# +# strip off any SSID if it is a telnet connection +# +# SSID's are a problem, basically we don't allow them EXCEPT for the special case +# of local users. i.e. you can have a cluster call with an SSID and a usercall with +# an SSID and they are different to the system to those without SSIDs +# + +$call =~ s/-\d+$//o if $mode eq 'telnet'; +$mode = ($connsort eq 'ax25') ? 1 : 2; setmode(); if ($call eq $mycall) {