antirez/redis — pull request #939 by ptjm (2013-02-08 02:04:17+00:00)
Title: Support for binding to more than one IP address.

This change allows bind to accept a comma-delimited list of IP addresses. My motivation is to listen on localhost + an address on an internal network but not on a public network.

I changed server.ipfd into a small fixed array rather than allocating dynamically since it's a bit simpler and it seems unlikely anyone will want to explicitly bind to more than a small number of addresses.

Thanks.