try to sort out PC16 so that local connections override and update remote
[spider.git] / perl / DXProt.pm
index 010620a0f67725a5c8323d322a4b699a70787735..33f962fda2cd583cde3a12d18d2c3ea1d30f2273 100644 (file)
@@ -241,7 +241,7 @@ sub new
        # old style connections, because we are about to get the real deal
        if (my $ref = Route::Node::get($call)) {
                dbg("ROUTE: $call is already in the routing table, deleting") if isdbg('route');
-               my @rout = $ref->del_nodes;
+               my @rout = $ref->delete;
                $self->route_pc21($main::mycall, undef, @rout) if @rout;
        }
        $main::routeroot->add($call, '5000', Route::here(1)) if $call ne $main::mycall;