Hi,

user have reported a bug on pve-user mailing list,

it seem that cidr conversion from address && netmask, is not working correctly
if some trailing spaces are present.

something like


"address 192.168.0.1 "
"netmask 255.255.255.0"


is converted to "192.168.0.1 /24"


and

"address 192.168.0.1 "
"netmask 255.255.255.0 "

is converted to "192.168.0.1 /32"


I think the regex in INotify.pm

} elsif ($line =~ m/^\s*((\S+)\s+(.+))$/) {

should be changed to not read the trailing spaces
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to