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

Dietmar Maurer dietmar at proxmox.com
Tue Mar 5 06:56:50 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!


Just found another bug - it is no longer possible to create interfaces without IP setting.
Here is the fix:

https://git.proxmox.com/?p=pve-manager.git;a=commit;h=7946f1f15b51bb383c14fa21d0fcb85db3001095





More information about the pve-devel mailing list