openwrt-pf/package/utils
John Crispin b8175a021b netifd: dhcp: add restart command for clean lease re-acquire
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>
2026-06-24 11:21:28 +02:00
..
adb adb: update project URL 2026-01-02 18:07:02 +01:00
audit
bcm27xx-utils
bcm4908img
bsdiff
busybox netifd: dhcp: add restart command for clean lease re-acquire 2026-06-24 11:21:28 +02:00
bzip2 bzip2: add CPPFLAGS 2026-02-17 22:25:05 +01:00
checkpolicy checkpolicy: update to 3.10 2026-04-27 10:50:53 +02:00
cli cli: add cidr6 data type 2026-02-07 10:04:18 +01:00
ct-bugcheck
debugcc
dns320l-mcu
dtc dtc: update to 1.7.2 2025-11-23 09:20:12 +01:00
e2fsprogs e2fsprogs: update to version 1.47.4 2026-04-07 01:31:04 +02:00
f2fs-tools f2fs-tools: update project URL 2026-01-02 18:07:02 +01:00
fbtest
firmware-utils firmware-utils: update to Git HEAD (2025-11-11) 2025-11-11 21:29:22 +01:00
fitblk
fritz-tools fritz-tools: fix out-of-bounds memset in TFFS segment expansion 2026-06-16 00:51:53 +02:00
jboot-tools treewide: edit local CMakeLists.txt to be compatible with cmake 4.x 2025-11-04 15:14:53 +01:00
jsonfilter jsonfilter: update to Git HEAD (2026-03-16) 2026-03-16 00:51:04 +01:00
lua
lua5.3 lua: Forward LDFLAGS 2025-11-18 23:13:46 +01:00
mdadm mdadm: move init before fstab init runs 2026-01-27 01:45:10 +01:00
mtd-utils mtd-utils: update to v2.3.1 2026-04-16 20:45:40 +02:00
nilfs-utils nilfs-utils: update to 2.3.0 2026-06-03 13:46:09 +02:00
nvram nvram: use strdup 2026-06-11 10:33:00 +02:00
omnia-eeprom
omnia-mcutool omnia-mcutool: Bump version to 0.3-rc4 2026-06-02 13:37:37 +02:00
osafeloader
policycoreutils policycoreutils: update to 3.10 2026-04-27 10:50:53 +02:00
provision provision: drop usage of AUTORELEASE 2025-10-29 21:09:55 +01:00
px5g-mbedtls
px5g-wolfssl
ravpower-mcu ravpower-mcu: add CPPFLAGS 2026-02-17 22:25:09 +01:00
secilc secilc: update to 3.10 2026-04-27 10:50:54 +02:00
spidev_test treewide: use HTTPS URL for www.kernel.org 2026-01-02 18:07:02 +01:00
ucode ucode: update to Git HEAD (2026-06-03) 2026-06-03 13:13:17 +02:00
ucode-mod-bpf ucode-mod-bpf: add CPPFLAGS 2026-02-17 22:25:31 +01:00
ucode-mod-pkgen
ucode-mod-uline ucode-mod-uline: drop usage of AUTORELEASE 2025-10-29 21:09:55 +01:00
uencrypt treewide: edit local CMakeLists.txt to be compatible with cmake 4.x 2025-11-04 15:14:53 +01:00
ugps ugps: update to Git HEAD (2025-10-03) 2025-10-03 23:54:26 +02:00
usbgadget
usbmode usbmode: add modeswitch rule for ZTE MF833U1 2026-02-11 23:21:42 +01:00
util-linux util-linux: update to 2.42.2 2026-06-24 02:14:33 +02:00
yafut
zyxel-bootconfig zyxel-bootconfig: add CPPFLAGS 2026-02-17 22:25:09 +01:00
zyxel-bootconfig-ipq807x qualcommax: ipq807x: add Zyxel NWA110AX support 2026-02-13 21:35:49 +01:00