diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-11 12:40:03 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-11 12:40:03 -0700 |
| commit | 69e8b1517c6d84f30367c5c32e7426d81dc28265 (patch) | |
| tree | b04529a70125e0038d1137e0480d2814958965c4 /src | |
| parent | ce459d0c55c974e3792adea5e6455a554dc686f9 (diff) | |
| download | nng-69e8b1517c6d84f30367c5c32e7426d81dc28265.tar.gz nng-69e8b1517c6d84f30367c5c32e7426d81dc28265.tar.bz2 nng-69e8b1517c6d84f30367c5c32e7426d81dc28265.zip | |
Test support for pairv1 including polyamorous mode.
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocol/pair/pair_v1.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |
