diff options
Diffstat (limited to 'src/core/socket.c')
| -rw-r--r-- | src/core/socket.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/socket.c b/src/core/socket.c index a7633c9e..a79955b3 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -577,11 +577,6 @@ nni_sock_open(nni_sock **sockp, const nni_proto *proto) nni_sock *s = NULL; int rv; - if (proto->proto_version != NNI_PROTOCOL_VERSION) { - // unsupported protocol version - return (NNG_ENOTSUP); - } - if ((rv = nni_sock_create(&s, proto)) != 0) { return (rv); } |
