commit | 182888eab7478f28001b1235f8d2b75063445db8 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Nov 13 01:43:12 2014 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Mon Nov 24 23:26:52 2014 +0000 |
tree | 4495a7b32ac328acedf0e7c5631c0058d73b8991 | |
parent | 4889ff847d57835820f189b622e945d70ec41494 [diff] |
shill: Connnection: Ignore invalid IP addresses for GetSubnet If the local address for a connection is invalid, we should return an empty string (instead of possibly crashing). The manager should in turn not bucket two such subnets into the same subnet bucket. BUG=chromium:430041 TEST=Unit tests Change-Id: If2c82d28ddadac7af9841a5a672bc61c91da4796 Reviewed-on: https://chromium-review.googlesource.com/231672 Reviewed-by: Peter Qiu <zqiu@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>