diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
| commit | 475f4c8abfdd9c88b585105c48839f51d7523d57 (patch) | |
| tree | f6fa693cd20d1f419ec5a1af0b60ffb798b68b4c /src/protocol/bus | |
| parent | b92320b9afe3771465514286db6ee6746ba512d8 (diff) | |
| download | nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.gz nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.bz2 nng-475f4c8abfdd9c88b585105c48839f51d7523d57.zip | |
fixes #137 Remove public access to numeric protocols
Diffstat (limited to 'src/protocol/bus')
| -rw-r--r-- | src/protocol/bus/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/bus/bus.c b/src/protocol/bus/bus.c index 07f91602..6ec0066b 100644 --- a/src/protocol/bus/bus.c +++ b/src/protocol/bus/bus.c @@ -387,8 +387,8 @@ static nni_proto_sock_ops bus_sock_ops = { static nni_proto bus_proto = { .proto_version = NNI_PROTOCOL_VERSION, - .proto_self = { NNG_PROTO_BUS_V0, "bus" }, - .proto_peer = { NNG_PROTO_BUS_V0, "bus" }, + .proto_self = { NNI_PROTO_BUS_V0, "bus" }, + .proto_peer = { NNI_PROTO_BUS_V0, "bus" }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, .proto_sock_ops = &bus_sock_ops, .proto_pipe_ops = &bus_pipe_ops, |
