diff --git a/pcbnew/router/pns_topology.cpp b/pcbnew/router/pns_topology.cpp index c54d48c153..c2a7b29325 100644 --- a/pcbnew/router/pns_topology.cpp +++ b/pcbnew/router/pns_topology.cpp @@ -106,7 +106,7 @@ bool TOPOLOGY::LeadingRatLine( const LINE* aTrack, SHAPE_LINE_CHAIN& aRatLine ) JOINT* jt = tmpNode->FindJoint( track.CPoint( -1 ), &track ); - if( !jt ) + if( !jt || jt->Net() <= 0 ) return false; if( ( !track.EndsWithVia() && jt->LinkCount() >= 2 )