[zmq] Dynamic port range is ignored

If we specify the default range to pyzmq function,
means default values are the same as pyzmq default values
we fallback to bind-0 system call which is not appropriate
for us as it binds in maximal range > 1024.

https://github.com/zeromq/pyzmq/blob/master/zmq/sugar/socket.py#L212

Change-Id: Idacd99d83c8fb9ad222a7bda187fa67a9b0348da
Closes-Bug: #1550104
This commit is contained in:
ozamiatin 2016-02-29 16:52:01 +02:00
parent ed84711596
commit 76ab2c4f62
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ zmq_opts = [
'PUB/SUB always uses proxy.'),
cfg.PortOpt('rpc_zmq_min_port',
default=49152,
default=49153,
help='Minimal port number for random ports range.'),
cfg.IntOpt('rpc_zmq_max_port',