- memset(¶m, 0, sizeof(param));
- if (admin_message_from_join(j_remote, j_serial, MESSAGE_NEWREF, param)<0)
- FATAL("No socket with remote application '%s' found, this shall not happen. because we already created one.\n", j_remote);
+ memset(¶m, 0, sizeof(union parameter));
+ if (serial)
+ param.newref.direction = 1; /* new ref from lcr */
+ if (admin_message_from_lcr(j_remote_id, j_remote_ref, MESSAGE_NEWREF, ¶m)<0)
+ FATAL("No socket with remote application '%s' found, this shall not happen. because we already created one.\n", j_remote_name);