Support connecting to networks with misconfigured subnet masks.

In K and earlier, we would connect to a network where the gateway
was not covered by the subnet mask of the IP address. This is an
invalid configuration, but it used to work, and other OSes appear
to accept it too, so support it.

Bug: 19067207

(cherry picked from commit d2a878d730785495c9584430b1d20666801c4a4a)

Change-Id: I80088f291466dbd5a47f360dcc1620acee5cf57e
1 file changed
tree: b89249768832447b3c44c4be26dac968ededafee
  1. core/
  2. services/
  3. tests/