]> git.proxmox.com Git - pve-common.git/commit
net: ip from host: code shrink
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Sep 2021 09:35:06 +0000 (11:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Sep 2021 09:37:00 +0000 (11:37 +0200)
commit29dde5f46b4bb616ed4814903c5d28427e668a4d
tree879f8ae239929117f90e1ff5205372b565b69926
parentc45692e04a0bddd1874716d0902b4767cc95c4f4
net: ip from host: code shrink

Return a suitable address directly instead of breaking out of the
loop to do that.

no semantic change intended

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network.pm