[Openswan dev] changesource() fix

Tuomo Soini tis at foobar.fi
Thu Aug 25 00:19:33 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix for changesource() problem mcr found out.

- --
Tuomo Soini <tis at foobar.fi>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Foobar - http://enigmail.mozdev.org

iD8DBQFDDNZUTlrZKzwul1ERAlEEAKC20dWvbWpZSeMePtIfouxETLIUUQCfZo65
VbM2K8oYq4p01Gm2qAM9N9c=
=tkFy
-----END PGP SIGNATURE-----
-------------- next part --------------
--- openswan-2.4.0rc1/programs/_updown/_updown.in.itfix	2005-08-24 23:10:19.000000000 +0300
+++ openswan-2.4.0rc1/programs/_updown/_updown.in	2005-08-24 23:17:07.000000000 +0300
@@ -225,8 +225,9 @@
 	parms3="src ${PLUTO_MY_SOURCEIP%/*} $IPROUTEARGS"
 	if [ -n "$IPROUTETABLE" ]
 	then
-	    parms3="$parms3 table '$IPROUTETABLE'"
+	    parms3="$parms3 table $IPROUTETABLE"
 	fi
+	it="ip route change $parms $parms2 $parms3"
  	case "$PLUTO_PEER_CLIENT" in
  	"0.0.0.0/0")
 		# opportunistic encryption work around


More information about the Dev mailing list