From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag <jonatan.schlag@ipfire.org> To: network@lists.ipfire.org Subject: [PATCH] IPsec: Fix routing in tunnel mode Date: Sun, 04 Mar 2018 16:19:55 +0000 Message-ID: <1520180395-4665-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7028053450814878296==" List-Id: <network.lists.ipfire.org> --===============7028053450814878296== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Two syntax errors make the routing in tunnel mode non working Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org> --- src/helpers/ipsec-updown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/ipsec-updown b/src/helpers/ipsec-updown index 3764085..185c2c7 100644 --- a/src/helpers/ipsec-updown +++ b/src/helpers/ipsec-updown @@ -108,7 +108,7 @@ case "${PLUTO_VERB}" in fi else # Get the device which we use to peer with the other site. - ME_DEVICE = "$(device_get_by_ip_address "${PLUTO_ME}")" + ME_DEVICE="$(device_get_by_assigned_ip_address "${PLUTO_ME}")" # We can only go on if we found a device. if isset ME_DEVICE; then -- 2.6.3 --===============7028053450814878296==--