diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-10 12:53:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-10 12:53:37 -0800 |
| commit | 3ad3e050704de2ca343848a46dd913b3b84bc287 (patch) | |
| tree | 2b2c4b34a7229dbe8845d850b9898bf577665e0a /tests | |
| parent | 6f2ced1d6c3bfd4a4fcbc29701beb42348782a53 (diff) | |
| download | nng-3ad3e050704de2ca343848a46dd913b3b84bc287.tar.gz nng-3ad3e050704de2ca343848a46dd913b3b84bc287.tar.bz2 nng-3ad3e050704de2ca343848a46dd913b3b84bc287.zip | |
fixes #276 decouple NNG and zerotier definitions
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/zt.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -39,10 +39,6 @@ mkdir(const char *path, int mode) #include <unistd.h> #endif // WIN32 -#ifndef NNG_TRANSPORT_ZEROTIER -#define nng_zt_network_status_ok 0 -#endif - static int check_props(nng_msg *msg) { @@ -94,7 +90,7 @@ check_props(nng_msg *msg) z = sizeof(s); s = 0; So(nng_pipe_getopt(p, NNG_OPT_ZT_NETWORK_STATUS, &s, &z) == 0); - So(s == nng_zt_network_status_ok); + So(s == NNG_ZT_STATUS_UP); }); Convey("Ping properties work", { |
