Index: map_2nets.h =================================================================== --- map_2nets.h (revision 35114) +++ map_2nets.h (revision 35115) @@ -81,6 +81,7 @@ pcb_2netmap_control_t ctrl; pcb_2netmap_oseg_t *osegs; /* output: head of a singly linked list */ unsigned find_rats:1; /* config: set to 1 if rats shall be included */ + unsigned find_floating:1; /* include free floating nets that are not connected to any terminal */ /* internal */ htpp_t o2n; /* of (pcb_2netmap_iseg_t *); tells the net for an object */ Index: map_2nets_map.c =================================================================== --- map_2nets_map.c (revision 35114) +++ map_2nets_map.c (revision 35115) @@ -439,7 +439,9 @@ if (i->used) continue; if (i->term[0] && i->term[1]) /* simplest case: terminal-to-terminal */ map_seg_out(map, i); - else if (i->term[0] || i->term[1]) + else if (i->term[0] || i->term[1]) /* at least one end has termianl */ map_seg_search(map, i); + else if (map->find_floating) /* caller wants to see free floating nets */ + map_seg_search(map, i); } }