X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=a1e552f7620097ce70eaa4e7513191b5ca47f2d2;hb=686140dd3cb3c832d8bb6c780acd82effb54834c;hp=35d656d7cfd84c91d0649a23d133a42ac6e62c45;hpb=e0fa9a04bfb66136a2485246c7ea1ec8f00e00e2;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 35d656d7..a1e552f7 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -1485,15 +1485,17 @@ sub handle_92 if ($pcall eq $self->{call} && $self->{state} eq 'init') { $self->state('init92'); + $self->{do_pc9x} = 1; + dbg("Do pc9x set on $pcall"); + } + unless ($self->{do_pc9x}) { + dbg("PCPROT: PC9x come in from non-PC9x node, ignored") if isdbg('chanerr'); + return; } my $parent = check_pc9x_t($pcall, $t, 92, 1) || return; my $oparent = $parent; - if (!$self->{do_pc9x} && $self->{call} eq $pcall && $self->state =~ /^init/) { - $self->{do_pc9x} = 1; - dbg("Do_px9x set on $pcall"); - } $parent->do_pc9x(1); $parent->via_pc92(1);