[pve-devel] [PATCH] firewall iptables_get_chains device name fix

Alen Grizonic a.grizonic at proxmox.com
Tue Aug 11 10:23:25 CEST 2015


Signed-off-by: Alen Grizonic <a.grizonic at proxmox.com>
---
 src/PVE/Firewall.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
index 1e918ab..b1fb978 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -1524,7 +1524,7 @@ sub iptables_get_chains {
 
 	return 1 if $name =~ m/^tap\d+i\d+-(:?IN|OUT)$/;
 
-	return 1 if $name =~ m/^veth\d+.\d+-(:?IN|OUT)$/; # fixme: dev name is configurable
+	return 1 if $name =~ m/^veth\d+i\d+-(:?IN|OUT)$/;
 
 	return 1 if $name =~ m/^venet0-\d+-(:?IN|OUT)$/;
 
-- 
2.1.4





More information about the pve-devel mailing list