Commit 6a143a40 authored by Dietmar Maurer's avatar Dietmar Maurer

pveproxy: fix configuration parser

parent 1bb6e88f
...@@ -209,6 +209,7 @@ sub read_proxy_config { ...@@ -209,6 +209,7 @@ sub read_proxy_config {
while ($data =~ s/^(.*)\n//) { while ($data =~ s/^(.*)\n//) {
my ($key, $value) = split(/:/, $1, 2); my ($key, $value) = split(/:/, $1, 2);
next if !$value;
if ($key eq 'ALLOW_FROM' || $key eq 'DENY_FROM') { if ($key eq 'ALLOW_FROM' || $key eq 'DENY_FROM') {
my $ips = []; my $ips = [];
foreach my $ip (split(/,/, $value)) { foreach my $ip (split(/,/, $value)) {
......
pve-manager (3.1-16) unstable; urgency=low pve-manager (3.1-16) unstable; urgency=low
* do not use -w switch as it breaks modules * do not use -w switch as it breaks modules
* pveproxy: fix configuration parser for /dec/defaults/pveproxy
-- Proxmox Support Team <support@proxmox.com> Tue, 01 Oct 2013 10:37:39 +0200 -- Proxmox Support Team <support@proxmox.com> Tue, 01 Oct 2013 10:37:39 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment