]> git.proxmox.com Git - pve-cluster.git/commit
corosync: refactor and reuse IP RE matching
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Jul 2019 08:19:52 +0000 (10:19 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 2 Jul 2019 09:19:37 +0000 (11:19 +0200)
commit3e067ee35cea12f93d4a4fb48a2ed7376b838fa9
treef36a68221f94d1a375e17446cc15b06d002543ad
parent53d5168dff4b6a174f4dc48b7403171ac163844a
corosync: refactor and reuse IP RE matching

this avoids calling getaddrinfo for the usual case of plain IPs, and
makes the code a bit easier to read as well.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
data/PVE/Corosync.pm