diff --git a/pcbnew/router/pns_item.cpp b/pcbnew/router/pns_item.cpp index 486739fbd8..0d4cff38e1 100644 --- a/pcbnew/router/pns_item.cpp +++ b/pcbnew/router/pns_item.cpp @@ -311,7 +311,7 @@ const std::string ITEM::Format() const ss << KindStr() << " "; if( iface ) - ss << "net " << iface->GetNetCode( Net() ) << " "; + ss << "net " << iface->GetNetName( Net() ) << " "; ss << "layers " << m_layers.Start() << " " << m_layers.End(); return ss.str();