aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit59ba22536d502e4f2afdc22ba3e675da1360210e (patch)
treef5a4566d5e91a9d2afa2bd79f3ad414399124fb7 /include
parent5901da9cc813449f90911d131c6c779928a65324 (diff)
downloadmaster-187ad058-59ba22536d502e4f2afdc22ba3e675da1360210e.tar.gz
master-187ad058-59ba22536d502e4f2afdc22ba3e675da1360210e.tar.bz2
master-187ad058-59ba22536d502e4f2afdc22ba3e675da1360210e.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions