From 475f4c8abfdd9c88b585105c48839f51d7523d57 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 31 Oct 2017 00:47:21 -0700 Subject: fixes #137 Remove public access to numeric protocols --- src/protocol/bus/bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocol/bus') 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, -- cgit v1.2.3-70-g09d2