Add listen_addr option
Current option listen_ip only supports IP types (IPv4 and IPv6)
while memcached's -l option allows <host>:<port> or also notls:<host>:<port>
in case a nonTLS interface is required when deploying with TLS enabled.
So the following examples are valid calls of memcached:
run memcached at both port 11211 and 11212
$ memcached -p 11211 -l localhost,localhost:11212
run memcached with TLS on ipv4, but not ipv6
memcached -l "127.0.0.1,notls:[::1]:11211" \
-Z -o ssl_chain_cert=cert.pem \ -o ssl_key=key.key \ -o ssl_ca_cert=tls/client-ca-root.crt \ -o ssl_verify_mode=1
This patch adds a new param called listen_addr to replace listen_ip
where the new param is more permissive in what it can take letting
Memcached itself decide if it is valid or not.
Lastly, this patch deprecates listen_ip in favor of listen_addr.
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>