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/iptables | |
parent | 97697c332fd4a67878b0aa8af8a03d1b1ef7c298 (diff) | |
download | mtk-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 'package/iptables')
0 files changed, 0 insertions, 0 deletions