* [PATCH 1/2] ipsec: fix enable and disable
@ 2017-08-05 10:30 Jonatan Schlag
2017-08-05 10:30 ` [PATCH 2/2] ipsec: log a debug message when deleting a strongswan config Jonatan Schlag
0 siblings, 1 reply; 2+ messages in thread
From: Jonatan Schlag @ 2017-08-05 10:30 UTC (permalink / raw)
To: network
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
src/functions/functions.ipsec | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/functions/functions.ipsec b/src/functions/functions.ipsec
index 4b8ce1b..14d5ef6 100644
--- a/src/functions/functions.ipsec
+++ b/src/functions/functions.ipsec
@@ -222,8 +222,6 @@ ipsec_connection_disable() {
return ${EXIT_ERROR}
fi
- ipsec_reload ${connection}
-
# Configure strongswan autostart
ipsec_strongswan_autostart
}
@@ -236,8 +234,6 @@ ipsec_connection_enable() {
return ${EXIT_ERROR}
fi
- ipsec_reload "${connection}"
-
# Configure strongswan autostart
ipsec_strongswan_autostart
}
--
2.6.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] ipsec: log a debug message when deleting a strongswan config
2017-08-05 10:30 [PATCH 1/2] ipsec: fix enable and disable Jonatan Schlag
@ 2017-08-05 10:30 ` Jonatan Schlag
0 siblings, 0 replies; 2+ messages in thread
From: Jonatan Schlag @ 2017-08-05 10:30 UTC (permalink / raw)
To: network
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
src/functions/functions.ipsec | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/functions/functions.ipsec b/src/functions/functions.ipsec
index 14d5ef6..38ee0ee 100644
--- a/src/functions/functions.ipsec
+++ b/src/functions/functions.ipsec
@@ -404,6 +404,7 @@ ipsec_reload() {
return ${EXIT_ERROR}
fi
else
+ log DEBUG "Deleting strongswan config ${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf"
unlink "${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf"
fi
--
2.6.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-05 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-05 10:30 [PATCH 1/2] ipsec: fix enable and disable Jonatan Schlag
2017-08-05 10:30 ` [PATCH 2/2] ipsec: log a debug message when deleting a strongswan config Jonatan Schlag
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox