From: Jonatan Schlag Date: Sun, 4 Mar 2018 16:18:02 +0000 (+0000) Subject: IPsec: Fix routing in tunnel mode X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2F11629_5;p=people%2Fjschlag%2Fnetwork.git IPsec: Fix routing in tunnel mode Two syntax errors make the routing in tunnel mode non working Signed-off-by: Jonatan Schlag --- 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