]> git.proxmox.com Git - pve-common.git/commit
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:23:13 +0000 (16:23 +0200)
commit204ac4388214902fe10239c434c001991ea62ee6
treea6ae004a8f3880cd0594be6bde3b4d8ded05d9ce
parent1893b0c4e87c838a7f23d08ea9c9cc344c73e0a7
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>
(cherry picked from commit 5c1556cd27c93705eef1d02f2d09e0c245212e67)
src/PVE/Network.pm