commit | 5e69c7f6c92678ccbc75e77dbb661d9bdc0dec83 | [log] [tgz] |
---|---|---|
author | Erik Kline <ek@google.com> | Fri Feb 05 18:06:15 2016 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Feb 16 13:34:20 2016 +0900 |
tree | 6877df14223337f4f9a2457963922e602b650598 | |
parent | 8464e1ed13a30ca91ae44dd2e334f63de7ade0f3 [diff] |
Switch to ifc_add_address() for setcfg This avoids the issue where, for example, 10.0.0.1/8 is added first, then 10.0.0.1/8 is deleted, and 10.0.0.1/24 is added. Netlink changes observed at the wrong time would make it seem as though IPv4 had been lost when in fact everthing was fine. Bug: 26991160 (cherry picked from commit 397fbc056c1ae1478f0311feab3a8a44cc6a4685) Change-Id: Ia5a5fcdd01e0950ac099c2054d74f0c52aa20b9c