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 [thread overview]
Message-ID: <1520180395-4665-1-git-send-email-jonatan.schlag@ipfire.org> (raw)
[-- 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
reply other threads:[~2018-03-04 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520180395-4665-1-git-send-email-jonatan.schlag@ipfire.org \
--to=jonatan.schlag@ipfire.org \
--cc=network@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox