Can't restore website with IPv6 (4.11.gpl)

When trying to restore websites using the newest Virtualmin 4.11.gpl-1 on Centos 7 I get the error:

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.701 Date: Mon, 22 Sep 2014 23:15:15 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

Error - Perl execution failed

Undefined subroutine &virtual_server::ip6_within_ranges called at /usr/libexec/webmin/virtual-server/backups-lib.pl line 2069

Status: 
Closed (fixed)

Comments

Ok, I see the bug that causes this - it actually pre-dates the 4.11 release by a while. It will be fixed in 4.12 though.

The trigger is restoring a domain that had a private IP address, and selecting the option to allocate a new IP. The work-around is to enter a specific IPv6 address for the domain on the restore form.

Automatically closed -- issue fixed for 2 weeks with no activity.