Explorar el Código

Fixed bug with firewall GUI settings

Fixed bug that led to correct firewall configuration not being
recognized by GUI VM Settings.

fixes QubesOS/qubes-issues#3289
Marta Marczykowska-Górecka hace 6 años
padre
commit
eeac042662
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      qubesmanager/firewall.py

+ 1 - 1
qubesmanager/firewall.py

@@ -244,7 +244,7 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel):
                 allow_dns = True
                 continue
 
-            if rule.proto == icmp_rule:
+            if rule == icmp_rule:
                 allow_icmp = True
                 continue