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 397fbc05) Change-Id: Ia5a5fcdd01e0950ac099c2054d74f0c52aa20b9c
Loading
Please register or sign in to comment