/[smecontribs]/rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-toggle_passtos.patch
ViewVC logotype

Contents of /rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-toggle_passtos.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 3 21:14:34 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-49_el5_sme, smeserver-openvpn-bridge-2_0-55_el5_sme, smeserver-openvpn-bridge-2_0-48_el5_sme, smeserver-openvpn-bridge-2_0-56_el5_sme, smeserver-openvpn-bridge-2_0-51_el5_sme, smeserver-openvpn-bridge-2_0-52_el5_sme, smeserver-openvpn-bridge-2_0-53_el5_sme, smeserver-openvpn-bridge-2_0-54_el5_sme, smeserver-openvpn-bridge-2_0-47_el5_sme, smeserver-openvpn-bridge-2_0-50_el5_sme, HEAD
Error occurred while calculating annotation data.
Initial import

1 --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/60options.toggle_passtos 2010-10-26 10:59:07.000000000 +0200
2 +++ smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/60options 2010-10-26 11:21:14.000000000 +0200
3 @@ -8,6 +8,7 @@
4 my $redirectGW = ${'openvpn-bridge'}{redirectGW} || 'PerClient';
5 my $proto = ${'openvpn-bridge'}{protocol} || 'udp';
6 my $duplicate = ${'openvpn-bridge'}{duplicateCN} || 'disabled';
7 +my $passtos = ${'openvpn-bridge'}{PassTOS} || 'enabled';
8 my $pushRoutes = ${'openvpn-bridge'}{PushLocalNetworks} || 'enabled';
9
10 use esmith::NetworksDB;
11 @@ -65,8 +66,11 @@
12 $OUT .= "duplicate-cn\n";
13 }
14
15 +if ($passtos eq 'enabled'){
16 + $OUT .= "passtos\n";
17 +}
18 +
19 }
20
21 nice 5
22 -passtos
23

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed