summaryrefslogtreecommitdiffstats
path: root/firewall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-23 01:10:48 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-23 01:10:48 +0000
commit4b421e23e04c4bc8ffd6a1848c71b88ee1412a10 (patch)
tree8061a8d520cd2bd116d1069007b0f4cad4a2d6de /firewall.py
parent838a83264d004ab4d82b7f3e477d84675a16f552 (diff)
downloadanaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.tar.gz
anaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.tar.xz
anaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.zip
make args something that will make redhat-config-securitylevel happier
Diffstat (limited to 'firewall.py')
-rw-r--r--firewall.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/firewall.py b/firewall.py
index d83dd1047..8fcb00fa5 100644
--- a/firewall.py
+++ b/firewall.py
@@ -66,19 +66,19 @@ class Firewall:
pass
self.ports.append(port)
for port in self.ports:
- args = args + [ "--port", port ]
+ args = args + [ "--port=%s" %(port,) ]
if self.smtp:
- args = args + [ "--port","smtp:tcp" ]
+ args = args + [ "--port=smtp:tcp" ]
if self.http:
- args = args + [ "--port","http:tcp" ]
+ args = args + [ "--port=http:tcp" ]
if self.ftp:
- args = args + [ "--port","ftp:tcp" ]
+ args = args + [ "--port=ftp:tcp" ]
if self.ssh:
- args = args + [ "--port","ssh:tcp" ]
+ args = args + [ "--port=ssh:tcp" ]
if self.telnet:
- args = args + [ "--port","telnet:tcp" ]
+ args = args + [ "--port=telnet:tcp" ]
for dev in self.trustdevs:
- args = args + [ "--trust", dev ]
+ args = args + [ "--trust=%s" %(dev,) ]
return args