From: minima Date: Mon, 22 Jan 2007 22:02:07 +0000 (+0000) Subject: make it even harder to falseluy propafgate pc92 X-Git-Tag: 1.54~16 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=686140dd3cb3c832d8bb6c780acd82effb54834c;p=spider.git make it even harder to falseluy propafgate pc92 --- 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);