From 6a8080e1c0a7254ffb7046d543b9bff5618ff136 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 14 Jul 2021 21:40:54 +0200 Subject: xml: provide common "pre-shared-secret" include block --- .../ipsec/authentication-pre-shared-secret.xml.i | 11 +++++++++ interface-definitions/vpn_ipsec.xml.in | 26 +++------------------- interface-definitions/vpn_l2tp.xml.in | 6 +---- 3 files changed, 15 insertions(+), 28 deletions(-) create mode 100644 interface-definitions/include/ipsec/authentication-pre-shared-secret.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/ipsec/authentication-pre-shared-secret.xml.i b/interface-definitions/include/ipsec/authentication-pre-shared-secret.xml.i new file mode 100644 index 000000000..af2669335 --- /dev/null +++ b/interface-definitions/include/ipsec/authentication-pre-shared-secret.xml.i @@ -0,0 +1,11 @@ + + + + Pre-shared secret key + + txt + Pre-shared secret key + + + + diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in index af0826c63..8399cf7f4 100644 --- a/interface-definitions/vpn_ipsec.xml.in +++ b/interface-definitions/vpn_ipsec.xml.in @@ -704,15 +704,7 @@ - - - Pre-shared secret key - - txt - Pre-shared secret key - - - + #include @@ -811,11 +803,7 @@ x509 - - - Pre-shared-secret used for server authentication - - + #include #include @@ -947,15 +935,7 @@ - - - Pre-shared secret key - - txt - Pre-shared secret key - - - + #include ID for remote authentication diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index f3f5cadcd..6cf5218ff 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -70,11 +70,7 @@ - - - Pre-shared secret for IPsec - - + #include #include -- cgit v1.2.3