Browse Source
nic.isconnected() returns now "True", if a) the physical link is up and b) an IP address is assigned. The latter happens often by DHCP, in which case an active connection can be assumed. If the IP address is set manually, nic.isconnected() would report "True" as well, if at least the physical link is up. This matches WLAN behaviour which returns "True" when the WLAN has an IP address. Before, the behaviour of nic.isconneceted() was erratic, returning "True" sometimes even without a Ethernet cable attached. Fixes issue #12741. Signed-off-by: robert-hh <robert@hammelrath.com>pull/12736/head
robert-hh
1 year ago
committed by
Damien George
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue