aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/survey
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/survey')
-rw-r--r--src/protocol/survey/respond.c1
-rw-r--r--src/protocol/survey/survey.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/protocol/survey/respond.c b/src/protocol/survey/respond.c
index 263e023a..a915eace 100644
--- a/src/protocol/survey/respond.c
+++ b/src/protocol/survey/respond.c
@@ -416,6 +416,7 @@ nni_proto nni_respondent_proto = {
.proto_self = NNG_PROTO_RESPONDENT,
.proto_peer = NNG_PROTO_SURVEYOR,
.proto_name = "respondent",
+ .proto_flags = NNI_PROTO_FLAG_SENDRECV,
.proto_sock_ops = &nni_resp_sock_ops,
.proto_pipe_ops = &nni_resp_pipe_ops,
};
diff --git a/src/protocol/survey/survey.c b/src/protocol/survey/survey.c
index 087211a2..b887a6e9 100644
--- a/src/protocol/survey/survey.c
+++ b/src/protocol/survey/survey.c
@@ -427,6 +427,7 @@ nni_proto nni_surveyor_proto = {
.proto_self = NNG_PROTO_SURVEYOR,
.proto_peer = NNG_PROTO_RESPONDENT,
.proto_name = "surveyor",
+ .proto_flags = NNI_PROTO_FLAG_SENDRECV,
.proto_sock_ops = &nni_surv_sock_ops,
.proto_pipe_ops = &nni_surv_pipe_ops,
};