/[smecontribs]/rpms/smeserver-libreswan/contribs10/smeserver-libreswan-fix-masq-templates.patch
ViewVC logotype

Contents of /rpms/smeserver-libreswan/contribs10/smeserver-libreswan-fix-masq-templates.patch

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


Revision 1.1 - (show annotations) (download)
Mon Feb 22 16:03:31 2021 UTC (3 years, 9 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-libreswan-0_5-36_el7_sme, smeserver-libreswan-0_5-35_el7_sme, HEAD
Initial import

1 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec
2 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-02-17 14:19:42.000000000 +0100
3 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-03-10 18:24:22.476000708 +0100
4 @@ -1,5 +1,5 @@
5 {
6 - my $ipsec_access = $ipsec{access};
7 + my $ipsec_access = $ipsec{access} || '';
8
9 if ( $ipsec_access eq 'public' ) {
10 $OUT .= " # Do not NAT VPN traffic\n";
11 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP
12 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-02-17 14:19:42.000000000 +0100
13 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-03-10 18:24:22.476000708 +0100
14 @@ -1,7 +1,7 @@
15 # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/55AllowGRE
16
17 {
18 -my $ipsec_access = $ipsec{access};
19 +my $ipsec_access = $ipsec{access} || '';
20
21 if ($ipsec_access eq 'public') {
22
23 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP
24 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-02-17 14:19:42.000000000 +0100
25 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-03-10 18:24:22.476000708 +0100
26 @@ -1,6 +1,6 @@
27 # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustGRE
28 {
29 - my $ipsec_access = $ipsec{access};
30 + my $ipsec_access = $ipsec{access} || '';
31 my $ipsec_status = $ipsec{status};
32 if ( $ipsec_access eq 'public' ) {
33

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