]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/NFSPlugin.pm
NFSPlugin: deal with ipv6 addresses and fix regexps
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 20 May 2015 14:57:31 +0000 (16:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 21 May 2015 09:49:21 +0000 (11:49 +0200)
commitda63f588326a68f6e46261a65638c786ba414f01
tree81b1b314dfee33aa0b3978119abc0d6d3817118a
parent6bf617a954c6e6f8e2e806104d7476f08971dcfa
NFSPlugin: deal with ipv6 addresses and fix regexps

NFS needs brackets around ipv6 addresses.
Also: nfs_is_mounted needs to quote the variables. This becomes apparent
when ipv6 addresses are used as then the address would otherwise be
treated as a character class, causing the check to always fail.
PVE/Storage/NFSPlugin.pm