1 |
diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/ipsec.d/ipsec.secrets/10Passwords smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/ipsec.d/ipsec.secrets/10Passwords |
2 |
--- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/ipsec.d/ipsec.secrets/10Passwords 2016-02-17 14:19:42.000000000 +0100 |
3 |
+++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/ipsec.d/ipsec.secrets/10Passwords 2016-04-04 18:33:45.527999651 +0200 |
4 |
@@ -79,6 +79,11 @@ |
5 |
$OUT .= "\@$rightid \@$leftid \: PSK \"$passwd\""; |
6 |
} |
7 |
} |
8 |
+ |
9 |
+ elsif (( $leftid ne '' ) && ( $rightid ne '' )) { |
10 |
+ $OUT .= "\@$rightid \@$leftid \: PSK \"$passwd\""; |
11 |
+ } |
12 |
+ |
13 |
else { |
14 |
$OUT .= "$left $right \: PSK \"$passwd\""; |
15 |
} |