diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-28 15:21:38 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-28 15:21:38 -0800 |
| commit | 6b96f3c9948a6600efb29de425a9f5727f35489c (patch) | |
| tree | e50eb04a9858a205c83ba0073a72203ca6a7ce4d /tools | |
| parent | 65e01d3c7917983d5066335cffb84c93494f1b14 (diff) | |
| download | nng-6b96f3c9948a6600efb29de425a9f5727f35489c.tar.gz nng-6b96f3c9948a6600efb29de425a9f5727f35489c.tar.bz2 nng-6b96f3c9948a6600efb29de425a9f5727f35489c.zip | |
nng listen option tries to dial instead.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/nngcat/nngcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nngcat/nngcat.c b/tools/nngcat/nngcat.c index 8c8ce34f..4e61d41a 100644 --- a/tools/nngcat/nngcat.c +++ b/tools/nngcat/nngcat.c @@ -105,7 +105,7 @@ static nng_optspec opts[] = { { .o_name = "pair1", .o_val = OPT_PAIR1 }, { .o_name = "bus0", .o_val = OPT_BUS0 }, { .o_name = "dial", .o_val = OPT_DIAL, .o_arg = true }, - { .o_name = "listen", .o_val = OPT_DIAL, .o_arg = true }, + { .o_name = "listen", .o_val = OPT_LISTEN, .o_arg = true }, { .o_name = "data", .o_short = 'D', .o_val = OPT_DATA, .o_arg = true }, { .o_name = "file", .o_short = 'F', .o_val = OPT_FILE, .o_arg = true }, { .o_name = "subscribe", .o_val = OPT_SUBSCRIBE, .o_arg = true }, |
