Index: trunk/src/rats_patch.c =================================================================== --- trunk/src/rats_patch.c (revision 1119) +++ trunk/src/rats_patch.c (revision 1120) @@ -217,8 +217,15 @@ } } - /* couldn't find the net */ - return 1; + /* couldn't find the net: create it */ + { + LibraryMenuType *net = NULL; + net = CreateNewNet(&pcb->NetlistLib[NETLIST_EDITED], patch->arg1.net_name, NULL); + if (net == NULL) + return 1; + CreateNewConnection(net, (char *) patch->id); + } + return 0; }