From: Wido den Hollander Date: Mon, 26 Jun 2017 09:46:58 +0000 (+0200) Subject: rest api: Listen on :: (IPv6) instead of 0.0.0.0 X-Git-Tag: v12.1.2~1^2~25^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38ea74823ae84884467ef72b7513739363cd5770;p=ceph.git rest api: Listen on :: (IPv6) instead of 0.0.0.0 On Linux systems a socket listening on :: also listens on all IPv4 addresses. This makes sure the API is usable over IPv6 as well. Signed-off-by: Wido den Hollander --- diff --git a/src/pybind/ceph_rest_api.py b/src/pybind/ceph_rest_api.py index 6ca21779876a..a4c6c8ab6fbb 100755 --- a/src/pybind/ceph_rest_api.py +++ b/src/pybind/ceph_rest_api.py @@ -20,7 +20,7 @@ from ceph_argparse import \ # Globals and defaults # -DEFAULT_ADDR = '0.0.0.0' +DEFAULT_ADDR = '::' DEFAULT_PORT = '5000' DEFAULT_ID = 'restapi'