summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-06-28 17:26:21 +0900
committerLorenzo Colitti <lorenzo@google.com>2013-07-11 18:15:48 +0900
commit41fb98c8681cbe0040b8d4efc65d33717c3819f6 (patch)
treeb0552e96ca4ebf980a3211ae85919add392c4b41 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9865ef1ba5800ec4ab82936eb016c3f563b07cbf (diff)
Make legacy VPN work over stacked interfaces.
On stacked interfaces like 464xlat, Legacy VPN can't find the default gateway because it uses getRoutes, which only returns routes for the base link and not for the stacked links. It also assumes that the interface that the default route points to is the interface for the base link (e.g., rmnet0) instead of the interface the route actually points to (e.g., clat4). Fix this by calling getAllRoutes to find the default IPv4 route, and get the interface name from the route we find instead of assuming it's the base interface. Bug: 9597516 Change-Id: Ia6ce0b6258a421cd22f60dedca7e94176b32176b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions