public inbox for network@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] IPsec: Fix routing in tunnel mode
@ 2018-03-04 16:19 Jonatan Schlag
  0 siblings, 0 replies; only message in thread
From: Jonatan Schlag @ 2018-03-04 16:19 UTC (permalink / raw)
  To: network

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-04 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-04 16:19 [PATCH] IPsec: Fix routing in tunnel mode Jonatan Schlag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox