+ $parent = Route::Node->new($pcall);
+ }
+ $parent->lastid->{92} = $t;
+
+ if (@ent) {
+ my ($call, $is_node, $is_extnode, $here, $version, $build) = _decode_pc92_call($ent[0]);
+ if ($call && $is_node && $call eq $pcall) {
+ $parent->here(Route::here($here));
+ $parent->version($version) if $version;
+ $parent->build($build) if $build;
+ } elsif ($is_extnode) {
+ # reparent to external node (note that we must have received a 'C' or 'A' record
+ # from the true parent node for this external before we get one for the this node
+ unless ($parent = Route::Node::get($call)) {
+ dbg("PCPROT: no previous C or A for this external node received, ignored") if isdbg('chanerr');
+ return;
+ }
+ } else {
+ dbg("PCPROT: must be mycall or external node as first entry, ignored") if isdbg('chanerr');
+ return;
+ }
+ shift @ent;