From 686140dd3cb3c832d8bb6c780acd82effb54834c Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 22 Jan 2007 22:02:07 +0000 Subject: [PATCH] make it even harder to falseluy propafgate pc92 --- perl/DXProtHandle.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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); -- 2.43.0