diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-23 01:10:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-23 01:10:48 +0000 |
commit | 4b421e23e04c4bc8ffd6a1848c71b88ee1412a10 (patch) | |
tree | 8061a8d520cd2bd116d1069007b0f4cad4a2d6de | |
parent | 838a83264d004ab4d82b7f3e477d84675a16f552 (diff) | |
download | anaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.tar.gz anaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.tar.xz anaconda-4b421e23e04c4bc8ffd6a1848c71b88ee1412a10.zip |
make args something that will make redhat-config-securitylevel happier
-rw-r--r-- | firewall.py | 14 |
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 |