Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8768537 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android (Google) Code Review
Browse files

Merge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev

parents 652fe674 ebc8af71
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -211,10 +211,9 @@ public class DataCallResponse {
                    } catch (IllegalArgumentException e) {
                        throw new UnknownHostException("Non-numeric gateway addr=" + addr);
                    }
                    if (! ia.isAnyLocalAddress()) {
                    // Allow 0.0.0.0 or :: as a gateway; this indicates a point-to-point interface.
                    linkProperties.addRoute(new RouteInfo(ia));
                }
                }

                result = SetupResult.SUCCESS;
            } catch (UnknownHostException e) {