Skip to content

Commit 4f9cba7

Browse files
committed
functestlib: make try_dhcp_client_safe skip DHCP when IP already exists
- In try_dhcp_client_safe(), detect a valid (non link-local) IPv4 early and return success without launching DHCP again. - When systemctl is available and NetworkManager/systemd-networkd is active, wait for IP instead of running udhcpc to avoid fighting the manager. - Keep the udhcpc safe-script behavior for minimal images while improving debug visibility around DHCP decisions and outcomes. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent 5d57b46 commit 4f9cba7

1 file changed

Lines changed: 498 additions & 15 deletions

File tree

0 commit comments

Comments
 (0)