]> git.proxmox.com Git - pve-cluster.git/commit
pvecm add: fix #1369 - re-allow using hostnames for ringX_addr
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 2 May 2017 09:51:22 +0000 (11:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 4 May 2017 06:46:13 +0000 (08:46 +0200)
commit1457a2a3004daec86f966ab14cb194e8276e4ef8
tree2c601de922bbcb853d633e445783d4668efcdfe5
parente064c9b06873f4e7532a91dace7e68f86d10b0ce
pvecm add: fix #1369 - re-allow using hostnames for ringX_addr

If an user passed a hostname as ring0_addr or ring1_addr the check_ip
checked failed as it implicitly assumed IPs even if we allowed a
general address (i.e. IP or hostname) as a format for those
properties.

Fixes: #1369
Reported here: https://forum.proxmox.com/threads/34342/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm