Allow 0.0.0.0 and :: as default gateways
authorLorenzo Colitti <lorenzo@google.com>
Tue, 26 Mar 2013 03:47:49 +0000 (12:47 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Tue, 26 Mar 2013 03:47:49 +0000 (12:47 +0900)
commitebc8af719102a64a2ae17cc2a836e23e2dbc3838
tree35046e6cdfbae66604c1b03027dc3008482e0421
parent4e9ed0410d72180872d59b14cb375c1c2ed94788
Allow 0.0.0.0 and :: as default gateways

On point-to-point interfaces, some RILs return the unspecified
address (0.0.0.0 or ::) as the gateway. This is correct, as
routes pointing at point-to-point interfaces don't need
gateways. Currently, telephony ignores these routes, causing
loss of connectivity (for example, when using an IPv6 APN on
Galaxy Nexus). Allow these routes to be set.

Bug: 8475171
Bug: 8276725
Change-Id: I3a770628c9717bb6e451a523417401b56ba55763
src/java/com/android/internal/telephony/dataconnection/DataCallResponse.java