]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/pick_address.cc: Copy public_netw to cluset_netw if cluster empty
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 13 Jan 2017 23:29:43 +0000 (00:29 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 20 Jan 2017 20:51:43 +0000 (21:51 +0100)
commit7cf7be726eba9dca93ee9e128e097a849db8034a
tree68ecccab4848b782fae0c614aa3e1d412125116b
parentaf9152f34a416a46bbf96b14b1416ca004c80f84
common/pick_address.cc: Copy public_netw to cluset_netw if cluster empty

 - When public network is set, but cluster network is not, then
   the cluster-bindings would be on 0.0.0.0 which could be unexpeted.

 In this commit we copy the public network into the cluster network
 to make sure that the cluster backend is not bound on 0.0.0.0
 Which could be consideren an insecure, or unexpected, action.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/pick_address.cc