Skip to content
Snippets Groups Projects
Commit 60db046e authored by Gabor Juhos's avatar Gabor Juhos
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31565
parent 97697c33
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment