diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-03 09:39:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-03 09:39:01 +0000 |
commit | 60db046ef28501513c3a58e3b23a070fa0b9bcc4 (patch) | |
tree | cc013c25c642b64cd16de65a39b4204d7e2a0ab0 /package/pptp/Makefile | |
parent | 97697c332fd4a67878b0aa8af8a03d1b1ef7c298 (diff) | |
download | upstream-60db046ef28501513c3a58e3b23a070fa0b9bcc4.tar.gz upstream-60db046ef28501513c3a58e3b23a070fa0b9bcc4.tar.bz2 upstream-60db046ef28501513c3a58e3b23a070fa0b9bcc4.zip |
Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.
Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31565
Diffstat (limited to 'package/pptp/Makefile')
-rw-r--r-- | package/pptp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile index a6d213d387..748abde5a8 100644 --- a/package/pptp/Makefile +++ b/package/pptp/Makefile @@ -23,7 +23,7 @@ define Package/pptp TITLE:=PPTP client MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org> URL:=http://pptpclient.sourceforge.net/ - DEPENDS:=+ppp +kmod-gre +resolveip + DEPENDS:=+ppp +kmod-gre +resolveip +ip endef define Package/pptp/description |