fix #2303: detect IPs of p2p interfaces
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 29 Jul 2019 09:27:16 +0000 (11:27 +0200)
committerFabian Gr├╝nbichler <f.gruenbichler@proxmox.com>
Mon, 29 Jul 2019 14:07:09 +0000 (16:07 +0200)
commit5c1556cd27c93705eef1d02f2d09e0c245212e67
tree1a3900f33493304a6439404de1d42e30baf39578
parent8a27e4a457da60a9fe58e114ebf05e0a8b61428f
fix #2303: detect IPs of p2p interfaces

"ip address show" prints:

    inet ADDR peer PEERADDR/32 scope global DEVICE

for pointtopoint interfaces. We're not interested in the netmask itself,
just make the Regex match.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/PVE/Network.pm