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 --- 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 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-03-10 18:24:22.476000708 +0100 @@ -1,5 +1,5 @@ { - my $ipsec_access = $ipsec{access}; + my $ipsec_access = $ipsec{access} || ''; if ( $ipsec_access eq 'public' ) { $OUT .= " # Do not NAT VPN traffic\n"; 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 --- 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 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-03-10 18:24:22.476000708 +0100 @@ -1,7 +1,7 @@ # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/55AllowGRE { -my $ipsec_access = $ipsec{access}; +my $ipsec_access = $ipsec{access} || ''; if ($ipsec_access eq 'public') { 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 --- 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 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-03-10 18:24:22.476000708 +0100 @@ -1,6 +1,6 @@ # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustGRE { - my $ipsec_access = $ipsec{access}; + my $ipsec_access = $ipsec{access} || ''; my $ipsec_status = $ipsec{status}; if ( $ipsec_access eq 'public' ) {