[Openswan dev] [PATCH] Make MTU per connection setting get sent to iproute.

Mattias Walstrom lazzer at vmlinux.org
Fri Feb 25 11:58:27 EST 2011


Make MTU per connection setting get sent to iproute.

The setting did not get passed down to the _updown-script

Signed-off-by: Mattias Walström <lazzer at vmlinux.org> 
---
 kernel.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/programs/pluto/kernel.c b/programs/pluto/kernel.c
index cbc89f9..d0c165e 100644
--- a/programs/pluto/kernel.c
+++ b/programs/pluto/kernel.c
@@ -428,6 +428,7 @@ fmt_common_shell_out(char *buf, int blen, struct connection *c
 		    "PLUTO_PEER_CA='%s' "
 		    "PLUTO_STACK='%s' "
 		    "%s "           /* possible metric */
+		    "%s "           /* possible mtu */
 		    "PLUTO_CONN_POLICY='%s' "
 #ifdef XAUTH
 		    "%s "           /* XAUTH username - if any */
@@ -462,6 +463,7 @@ fmt_common_shell_out(char *buf, int blen, struct connection *c
 		    , secure_peerca_str
 		    , kernel_ops->kern_name
 		    , metric_str
+		    , connmtu_str
 		    , prettypolicy(c->policy)
 #ifdef XAUTH
 		    , secure_xauth_username_str


More information about the Dev mailing list