]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ipsec: Always make sure that n2n connections are unique
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 20:45:39 +0000 (20:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 20:46:05 +0000 (20:46 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index 32a6a2c20598b53db26a60ccbd86a3e5a4e098b3..fa2756a20a48a106156c05cd54385ac8435a2c54 100644 (file)
@@ -1041,6 +1041,11 @@ _ipsec_connection_to_strongswan_connection() {
        esac
        print # empty line
 
+       # Always only keep one connection open at a time
+       print_indent 2 "# Unique IDs"
+       print_indent 2 "unique = replace"
+       print
+
        # Local Address
        print_indent 2 "# Local Address"
        if isset LOCAL_ADDRESS; then