From 67bf660255622ba65f4e787421ea2c234ac01705 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 7 May 2010 15:55:27 +0200 Subject: [PATCH] unbind_all_network_devices: fix regexp to cover all pci devices http://www.qubes-os.org/trac/ticket/19 --- dom0/aux-tools/unbind_all_network_devices | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/aux-tools/unbind_all_network_devices b/dom0/aux-tools/unbind_all_network_devices index 4d6a4a44..1c86731d 100755 --- a/dom0/aux-tools/unbind_all_network_devices +++ b/dom0/aux-tools/unbind_all_network_devices @@ -35,7 +35,7 @@ def find_net_devices(): raise IOError net_devices = set() - rx_netdev = re.compile (r"^([0-9][0-9]:[0-9][0-9].[0-9]) \"02") + rx_netdev = re.compile (r"^([0-9a-f][0-9a-f]:[0-9a-f][0-9a-f].[0-9]) \"02") for dev in str(result[0]).splitlines(): match = rx_netdev.match (dev) if match is not None: