summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-29 16:44:54 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-29 16:44:54 +0000
commit51ff7a1f74807de44e9e0a7309553413e7f514c2 (patch)
tree50c219b8bffd2c12210beaa0c1e2217fe3b9c4a4
parentfbbea893bf4b91487f7d2316ed19dbb923748e68 (diff)
downloaddrakx-51ff7a1f74807de44e9e0a7309553413e7f514c2.tar
drakx-51ff7a1f74807de44e9e0a7309553413e7f514c2.tar.gz
drakx-51ff7a1f74807de44e9e0a7309553413e7f514c2.tar.bz2
drakx-51ff7a1f74807de44e9e0a7309553413e7f514c2.tar.xz
drakx-51ff7a1f74807de44e9e0a7309553413e7f514c2.zip
update zones file for shorewall 3.0
-rw-r--r--perl-install/network/shorewall.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index 07b791ed1..3f54729b8 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -123,9 +123,10 @@ sub write {
[ $zone, $interface, 'detect', if_(detect_devices::is_bridge_interface($interface), 'routeback') ];
};
- set_config_file("zones",
- [ 'net', 'Net', 'Internet zone' ],
- if_($conf->{loc_interface}[0], [ 'loc', 'Local', 'Local' ]),
+ set_config_file("zones",
+ [ 'net', 'ipv4' ],
+ if_($conf->{loc_interface}[0], [ 'loc', 'ipv4' ]),
+ [ 'fw', 'firewall' ],
);
set_config_file('interfaces',
$interface_settings->('net', $conf->{net_interface}),