commit | ab374f426a0d1d8598f3eb4b0339440dcb313a1a | [log] [tgz] |
---|---|---|
author | Irfan Sheriff <isheriff@google.com> | Fri Sep 02 17:34:12 2011 -0700 |
committer | Irfan Sheriff <isheriff@google.com> | Fri Sep 02 17:34:12 2011 -0700 |
tree | 50476fb135544a7bb98a2551a38a0816f94bf867 | |
parent | 11b4e9b26fe7b878992162afb39f5a8acfd143ed [diff] |
Avoid setting prefix length for 0.0.0.0 address The ioctl to set netmask fails when the interface address is 0.0.0.0. The kernel always keeps the netmask as 0 when the address is 0.0.0.0. Avoid making a call to prefix length when address is 0.0.0.0 Bug: 5255172 Change-Id: Id32f7823b2230fb9ac7cd45b0df1951f11338112