Signed-off-by: Michael Rasmussen <[email protected]>
---
src/PVE/INotify.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm
index 7fb3490..a15b27d 100644
--- a/src/PVE/INotify.pm
+++ b/src/PVE/INotify.pm
@@ -801,7 +801,7 @@ sub __read_etc_network_interfaces {
if ($proc_net_dev) {
while (defined ($line = <$proc_net_dev>)) {
- if ($line =~ m/^\s*(eth\d+|en[^:.]+):.*/) {
+ if ($line =~ m/^\s*(eth\d+|en[^:.]+|ib\d+):.*/) {
$ifaces->{$1}->{exists} = 1;
}
}
@@ -974,7 +974,7 @@ sub __read_etc_network_interfaces {
$ifaces->{$1}->{exists} = 0;
$d->{exists} = 0;
}
- } elsif ($iface =~ m/^(?:eth\d+|en[^:.]+)$/) {
+ } elsif ($iface =~ m/^(?:eth\d+|en[^:.]+|ib\d+)$/) {
if (!$d->{ovs_type}) {
$d->{type} = 'eth';
} elsif ($d->{ovs_type} eq 'OVSPort') {
--
2.1.4
----
This mail was virus scanned and spam checked before delivery.
This mail is also DKIM signed. See header dkim-signature.
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel