X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=9d287df45133b1e3925e26d01a40b6c69a907a61;hb=217d9d54b6772ed24aee88d5dc968a64de54f531;hp=a62c6bef77de07b90cbf6a41711cc6f58708e6e5;hpb=4769c7b97999c7df7f7c25f26d89902c2e86573b;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index a62c6bef..9d287df4 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -423,6 +423,10 @@ sub handle_16 my $h; $h = 1 if DXChannel::get($ncall); RouteDB::update($ncall, $self->{call}, $h); + if ($h && $self->{call} ne $ncall) { + dbg("PCPROT: trying to update a local node, ignored") if isdbg('chanerr'); + return; + } if (eph_dup($line)) { dbg("PCPROT: dup PC16 detected") if isdbg('chanerr'); @@ -764,7 +768,7 @@ sub handle_19 # but remember there will only be one (pair) these because any extras will be # thrown away. if (@rout) { - $self->route_pc21($self->{call}, $line, @rout); +# $self->route_pc21($self->{call}, $line, @rout); $self->route_pc19($self->{call}, $line, @rout); } if (@pc92out) {