[pve-devel] [PATCH] Added ipv4 validation, forbid network and broadcast addresses

Dietmar Maurer dietmar at proxmox.com
Mon Mar 4 06:52:21 CET 2013


> +    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);

What is 'Net::IP::ip_to_bin'? That method does not exist!




More information about the pve-devel mailing list