openwrtv4/package/pptp
Gabor Juhos 60db046ef2 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
2012-05-03 09:39:01 +00:00
..
files Fix pptp handling of routes to server. 2012-05-03 09:39:01 +00:00
Makefile Fix pptp handling of routes to server. 2012-05-03 09:39:01 +00:00