Skip to content

Commit

Permalink
qubes/firewall: apply only IPv4 rules
Browse files Browse the repository at this point in the history
Currently dom0 do not assign IPv6 addresses for VMs, so there is no
sense in IPv6 firewall yet.

QubesOS/qubes-issues#1815
  • Loading branch information
marmarek committed Sep 12, 2016
1 parent 72f8892 commit 84935ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/vm/mix/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def reload_firewall_for_vm(self, vm):
# would trigger reload right away
self.qdb.rm(base_dir)
# write new rules
for key, value in vm.firewall.qdb_entries().items():
for key, value in vm.firewall.qdb_entries(addr_family=4).items():
self.qdb.write(base_dir + key, value)
# signal its done
self.qdb.write(base_dir[:-1], '')
Expand Down

0 comments on commit 84935ac

Please sign in to comment.