use strict;
use warnings;
+use Net::IP qw(:PROC);
use PVE::Tools qw(extract_param);
use PVE::SafeSyslog;
use PVE::INotify;
use PVE::JSONSchema qw(get_standard_option);
use PVE::AccessControl;
use IO::File;
-use Net::IP qw(:PROC);
use base qw(PVE::RESTHandler);
my $binip = Net::IP::ip_iptobin($param->{address}, 4);
my $binmask = Net::IP::ip_iptobin($param->{netmask}, 4);
- my $broadcast = Net::IP::ip_to_bin('255.255.255.255', 4);
+ my $broadcast = Net::IP::ip_iptobin('255.255.255.255', 4);
my $binhost = $binip | $binmask;
raise_param_exc({ address => "$param->{address} is not a valid host ip address." })
+pve-manager (2.3-12) unstable; urgency=low
+
+ * fix IP address verification (Undefined subroutine &Net::IP::ip_to_bin)
+
+ -- Proxmox Support Team <support@proxmox.com> Mon, 04 Mar 2013 06:56:12 +0100
+
pve-manager (2.3-11) unstable; urgency=low
* bugfix #301 Add container hostname validation in GUI