diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-03 03:06:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-03 03:06:20 +0000 |
commit | c3498113bdcbde38fe247d17bbeb98febcd928f9 (patch) | |
tree | 757d8d381934bd4630275c59586601e0930b33c1 /bin | |
parent | c33751f1f5288b1e2c726b986793e6d351d17739 (diff) | |
download | drakx-net-c3498113bdcbde38fe247d17bbeb98febcd928f9.tar drakx-net-c3498113bdcbde38fe247d17bbeb98febcd928f9.tar.gz drakx-net-c3498113bdcbde38fe247d17bbeb98febcd928f9.tar.bz2 drakx-net-c3498113bdcbde38fe247d17bbeb98febcd928f9.tar.xz drakx-net-c3498113bdcbde38fe247d17bbeb98febcd928f9.zip |
write netmask as VLSM for shorewall (#38447)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/drakgw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -365,7 +365,7 @@ sub gw_configure() { N("Configuring firewall...")); $shorewall->{disabled} = 0; - $shorewall->{masq}{subnet} = "$lan_intf->{NETWORK}/$lan_intf->{NETMASK}"; + $shorewall->{masq}{subnet} = $lan_intf->{NETWORK} . '/' . network::network::netmask_to_vlsm($lan_intf->{NETMASK}); network::shorewall::write($shorewall); #- be sure that FORWARD_IPV4 is enabled in /etc/sysconfig/network |