Index: abstract.c =================================================================== --- abstract.c (revision 3378) +++ abstract.c (revision 3379) @@ -60,7 +60,7 @@ void csch_anet_free_fields(csch_anet_t *net) { vtp0_uninit(&net->conns); - free(net->netname); + free(net->name); csch_ahdr_uninit(&net->hdr); } @@ -147,9 +147,9 @@ net = calloc(sizeof(csch_anet_t), 1); csch_aobj_init(abs, &net->hdr, CSCH_ATYPE_NET); - net->netname = rnd_strdup(netname); + net->name = rnd_strdup(netname); net->no_uname = set_no_uname; - htsp_set(&abs->nets, net->netname, net); + htsp_set(&abs->nets, net->name, net); return net; } @@ -222,7 +222,7 @@ csch_anet_t *net = e->value; long n; - fprintf(f, "%s %s\n", prefix, net->netname); + fprintf(f, "%s %s\n", prefix, net->name); fprintf(f, "%s ports:\n", prefix); for(n = 0; n < net->conns.used; n++) { csch_aport_t *port = net->conns.array[n];