commit | a5faa56a62399725859681d14fcf98e4f95000ef | [log] [tgz] |
---|---|---|
author | Zhanglong Xia <zhanglongxia@google.com> | Mon Nov 18 14:15:03 2024 +0800 |
committer | Zhanglong Xia <zhanglongxia@google.com> | Tue Nov 19 13:40:52 2024 +0800 |
tree | 1e5b9a9f8508aec243d3971a9db314a27b905d05 | |
parent | 2764f6223c020007574808f319daab0c9a3a1ac4 [diff] |
check whether the network interface exists before using it Some build targets of the cuttlefish project don't have the ethernet interface. This CL checks whether the network interface exists before setting it as Thread simulation local interface. Bug: b/378777255 Test: acloudw create --branch git_main --build-id P85047583 --build-target cf_x86_64_auto-trunk_staging-userdebug Change-Id: Ifb1e316f59fac7babf34a7c290d5234853de8653