Add a proto_dhcp_restart() handler that re-acquires the DHCP lease via a single ubus call, releasing the previous lease and triggering a fresh DHCPDISCOVER without bouncing the interface. The re-acquire is implemented by sending SIGHUP to udhcpc, which releases the current lease (if any) and immediately transitions the state machine to INIT_SELECTING so the next main-loop iteration sends a fresh DHCPDISCOVER. A single signal thus expresses 'release this lease and get a new one' without exiting the client, so upstream watchdogs (e.g. a DNS-health monitor) can request a clean re-lease without tearing down the interface. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> |
||
|---|---|---|
| .. | ||
| 100-libbb-dump-fix-dumping-of-signed-values-without-expl.patch | ||
| 120-lto-jobserver.patch | ||
| 200-udhcpc_reduce_msgs.patch | ||
| 201-udhcpc_changed_ifindex.patch | ||
| 210-add_netmsg_util.patch | ||
| 220-add_lock_util.patch | ||
| 270-libbb_make_unicode_printable.patch | ||
| 301-ip-link-fix-netlink-msg-size.patch | ||
| 302-ash-clear-bb_got_signal-for-non-interactive-shell.patch | ||
| 500-move-traceroute-applets-to-bin.patch | ||
| 510-move-passwd-applet-to-bin.patch | ||
| 520-loginutils-handle-crypt-failures.patch | ||
| 530-nslookup-ensure-unique-transaction-IDs-for-the-DNS-queries.patch | ||
| 600-loginutils-login.c-libselinux-get_default_context-ex.patch | ||
| 700-udhcpc-sighup-restart.patch | ||