Replies: 2 comments 1 reply
-
For DHCPv4 events, there is also the |
Beta Was this translation helpful? Give feedback.
-
Without the restart invocation, it can take approx. 40 seconds after reconnecting the cable, before the new connection is negotiated. |
Beta Was this translation helpful? Give feedback.
-
I have used the dhcp client sample code as a blueprint for using in an application that offers a system info page showing IP address and gateway. In the target application I realized simple code extensions to flag disconnect and let the dhcp-client restart after this event.
Now, this handling is transferred to my local sample code. I think it's helpful for others who can see in this code how to do that - see attachment.
0001-samples-net-hcpv4_client-added-signaling-of-disconne.patch.txt
Beta Was this translation helpful? Give feedback.
All reactions