if (my $fd2 = IO::File->new("/proc/net/dev", "r")) {
while (defined ($line = <$fd2>)) {
- if ($line =~ m/^\s*(eth[0-9]):.*/) {
+ if ($line =~ m/^\s*(eth\d+):.*/) {
$ifaces->{$1}->{exists} = 1;
}
}
$ifaces->{$1}->{exists} = 0;
$d->{exists} = 0;
}
- } elsif ($iface =~ m/^eth[0-9]$/) {
+ } elsif ($iface =~ m/^eth\d+$/) {
$d->{type} = 'eth';
} elsif ($iface =~ m/^lo$/) {
$d->{type} = 'loopback';
+libpve-common-perl (1.0-30) unstable; urgency=low
+
+ * allow more that 10 physical network interfaces
+
+ -- Proxmox Support Team <support@proxmox.com> Thu, 02 Aug 2012 07:28:17 +0200
+
libpve-common-perl (1.0-29) unstable; urgency=low
* AbsrtactMigrate: use rsync flags AX (preserve ACLs and xattr)