summaryrefslogtreecommitdiff
path: root/target/linux/generic
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-03 09:39:01 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-03 09:39:01 +0000
commit60db046ef28501513c3a58e3b23a070fa0b9bcc4 (patch)
treecc013c25c642b64cd16de65a39b4204d7e2a0ab0 /target/linux/generic
parent97697c332fd4a67878b0aa8af8a03d1b1ef7c298 (diff)
downloadmtk-20170518-60db046ef28501513c3a58e3b23a070fa0b9bcc4.zip
mtk-20170518-60db046ef28501513c3a58e3b23a070fa0b9bcc4.tar.gz
mtk-20170518-60db046ef28501513c3a58e3b23a070fa0b9bcc4.tar.bz2
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 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions