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

Annotation of /rpms/smeserver-openvpn-bridge/contribs7/smeserver-openvpn-bridge-2.0-toggle_passtos.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Oct 26 10:06:59 2010 UTC (14 years ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-43_el4_sme, smeserver-openvpn-bridge-2_0-48_el4_sme, smeserver-openvpn-bridge-2_0-46_el4_sme, smeserver-openvpn-bridge-2_0-45_el4_sme, smeserver-openvpn-bridge-2_0-40_el4_sme, smeserver-openvpn-bridge-2_0-47_el4_sme, smeserver-openvpn-bridge-2_0-42_el4_sme, smeserver-openvpn-bridge-2_0-41_el4_sme, HEAD
* Tue Oct 26 2010 Daniel B. <daniel@firewall-services.com> 2.0-40.sme
- Add PassTOS DB key to enable/disable passtos
- Enhance routes push (work with s2s contrib)

1 vip-ire 1.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