Index: trunk/src_plugins/io_lihata/read.c =================================================================== --- trunk/src_plugins/io_lihata/read.c (revision 35565) +++ trunk/src_plugins/io_lihata/read.c (revision 35566) @@ -2756,7 +2756,7 @@ if ((doc->root->type == LHT_HASH) && (strncmp(doc->root->name, "pcb-rnd-padstack-v", 18) == 0)) { lht_node_t *datand = lht_dom_hash_get(doc->root, "ps_proto_v6.0"); - rctx.rdver = 6; + rctx.rdver = atoi(doc->root->name+18); if (datand == NULL) { iolht_error(doc->root, "Error loading '%s': padstack has no ps_proto_v6\n", filename); res = -1;