Loading core/java/android/net/RouteInfo.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -64,13 +64,13 @@ public class RouteInfo implements Parcelable { /** /** * Constructs a RouteInfo object. * Constructs a RouteInfo object. * * * If @destination is null, then @gateway must be specified and the * If destination is null, then gateway must be specified and the * constructed route is either the IPv4 default route <code>0.0.0.0</code> * constructed route is either the IPv4 default route <code>0.0.0.0</code> * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default * route <code>::/0</code> if @gateway is an instance of * route <code>::/0</code> if gateway is an instance of * {@link Inet6Address}. * {@link Inet6Address}. * * * @destination and @gateway may not both be null. * destination and gateway may not both be null. * * * @param destination the destination prefix * @param destination the destination prefix * @param gateway the IP address to route packets through * @param gateway the IP address to route packets through Loading Loading
core/java/android/net/RouteInfo.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -64,13 +64,13 @@ public class RouteInfo implements Parcelable { /** /** * Constructs a RouteInfo object. * Constructs a RouteInfo object. * * * If @destination is null, then @gateway must be specified and the * If destination is null, then gateway must be specified and the * constructed route is either the IPv4 default route <code>0.0.0.0</code> * constructed route is either the IPv4 default route <code>0.0.0.0</code> * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default * if @gateway is an instance of {@link Inet4Address}, or the IPv6 default * route <code>::/0</code> if @gateway is an instance of * route <code>::/0</code> if gateway is an instance of * {@link Inet6Address}. * {@link Inet6Address}. * * * @destination and @gateway may not both be null. * destination and gateway may not both be null. * * * @param destination the destination prefix * @param destination the destination prefix * @param gateway the IP address to route packets through * @param gateway the IP address to route packets through Loading