summaryrefslogtreecommitdiffstats
path: root/iw/firewall_gui.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-02-08 16:30:38 +0000
committerBill Nottingham <notting@redhat.com>2001-02-08 16:30:38 +0000
commit6257f79f810264b26857f624d04305f37fccc40b (patch)
tree77d6f2deaad5c92243ccc41ded96e7e27693f83c /iw/firewall_gui.py
parent9a2cde08131f332602f15bf8c7b91ab4e2631720 (diff)
downloadanaconda-6257f79f810264b26857f624d04305f37fccc40b.tar.gz
anaconda-6257f79f810264b26857f624d04305f37fccc40b.tar.xz
anaconda-6257f79f810264b26857f624d04305f37fccc40b.zip
automatically allow DHCP through if they have an interface configured that way.
Diffstat (limited to 'iw/firewall_gui.py')
-rw-r--r--iw/firewall_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/firewall_gui.py b/iw/firewall_gui.py
index 5ac1c4e91..68e4c3428 100644
--- a/iw/firewall_gui.py
+++ b/iw/firewall_gui.py
@@ -259,6 +259,8 @@ class FirewallWindow (InstallWindow):
else:
if device in self.todo.firewall.trustdevs:
self.trusted.append_row ((device, device), TRUE)
+ if self.todo.network.netdevices[device].get('bootproto') == 'dhcp':
+ self.todo.firewall.dhcp = 1
count = count + 1