From 69e8b1517c6d84f30367c5c32e7426d81dc28265 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 11 Aug 2017 12:40:03 -0700 Subject: Test support for pairv1 including polyamorous mode. --- src/protocol/pair/pair_v1.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/protocol') diff --git a/src/protocol/pair/pair_v1.c b/src/protocol/pair/pair_v1.c index 812617f1..6951088e 100644 --- a/src/protocol/pair/pair_v1.c +++ b/src/protocol/pair/pair_v1.c @@ -427,6 +427,9 @@ pair1_sock_getopt(void *arg, int opt, void *buf, size_t *szp) case NNG_OPT_MAXTTL: rv = nni_getopt_int(&s->ttl, buf, szp); break; + case NNG_OPT_POLYAMOROUS: + rv = nni_getopt_int(&s->poly, buf, szp); + break; default: rv = NNG_ENOTSUP; } -- cgit v1.2.3-70-g09d2