Index: sbin/hastd/secondary.c =================================================================== --- sbin/hastd/secondary.c (revision 223156) +++ sbin/hastd/secondary.c (working copy) @@ -183,10 +183,11 @@ init_remote(struct hast_resource *res, struct nv * unsigned char *map; size_t mapsize; +#ifdef notyet /* Setup direction. */ if (proto_send(res->hr_remoteout, NULL, 0) == -1) pjdlog_errno(LOG_WARNING, "Unable to set connection direction"); - +#endif map = NULL; mapsize = 0; nvout = nv_alloc(); @@ -351,9 +352,11 @@ init_remote(struct hast_resource *res, struct nv * if (map != NULL) free(map); nv_free(nvout); +#ifdef notyet /* Setup direction. */ if (proto_recv(res->hr_remotein, NULL, 0) == -1) pjdlog_errno(LOG_WARNING, "Unable to set connection direction"); +#endif if (res->hr_secondary_localcnt > res->hr_primary_remotecnt && res->hr_primary_localcnt > res->hr_secondary_remotecnt) { /* Exit on split-brain. */ Index: sbin/hastd/primary.c =================================================================== --- sbin/hastd/primary.c (revision 223156) +++ sbin/hastd/primary.c (working copy) @@ -726,11 +726,13 @@ init_remote(struct hast_resource *res, struct prot (void)hast_activemap_flush(res); } nv_free(nvin); +#ifdef notyet /* Setup directions. */ if (proto_send(out, NULL, 0) == -1) pjdlog_errno(LOG_WARNING, "Unable to set connection direction"); if (proto_recv(in, NULL, 0) == -1) pjdlog_errno(LOG_WARNING, "Unable to set connection direction"); +#endif pjdlog_info("Connected to %s.", res->hr_remoteaddr); if (inp != NULL && outp != NULL) { *inp = in;