From 898819c4703ad6bc1d42197fa05f09bee0b7e364 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Sun, 26 Mar 2023 13:27:02 -0600 Subject: [PATCH] strongswan: Fix indent for hw_offload, interface, priority Signed-off-by: Philip Prindeville (cherry picked from commit 03eab9b63b8e813108b3e7f0db50a3041515472e) Signed-off-by: Richard Muzik --- net/strongswan/files/swanctl.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/strongswan/files/swanctl.init b/net/strongswan/files/swanctl.init index 9d34b1041d..b7af78446a 100644 --- a/net/strongswan/files/swanctl.init +++ b/net/strongswan/files/swanctl.init @@ -331,10 +331,10 @@ config_child() { [ -n "$local_subnet" ] && swanctl_xappend4 "local_ts = $local_subnet" [ -n "$remote_subnet" ] && swanctl_xappend4 "remote_ts = $remote_subnet" - [ -n "$hw_offload" ] && swanctl_append4 "hw_offload = $hw_offload" + [ -n "$hw_offload" ] && swanctl_xappend4 "hw_offload = $hw_offload" [ $ipcomp -eq 1 ] && swanctl_xappend4 "ipcomp = 1" - [ -n "$interface" ] && swanctl_append4 "interface = $interface" - [ -n "$priority" ] && swanctl_append4 "priority = $priority" + [ -n "$interface" ] && swanctl_xappend4 "interface = $interface" + [ -n "$priority" ] && swanctl_xappend4 "priority = $priority" [ -n "$if_id" ] && { swanctl_xappend4 "if_id_in = $if_id" ; swanctl_xappend4 "if_id_out = $if_id" ; } [ -n "$startaction" -a "$startaction" != "none" ] && swanctl_xappend4 "start_action = $startaction" [ -n "$closeaction" -a "$closeaction" != "none" ] && swanctl_xappend4 "close_action = $closeaction" -- 2.30.2