John CrispinandFelix Fietkau d155e4cefb interface: add restart support
Add a PROTO_CMD_RESTART command and a per-interface "restart" ubus
method. Protocol handlers can advertise a restart handler via the
restart-handler capability to restart their client in place (e.g. a
DHCP client) without a full teardown.

Protocols without a restart handler fall back to a full reload, which
bounces the interface down and up. Dynamic interfaces are left untouched
on the fallback path, as a reload would remove rather than reload them.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2011-04-03 19:08:00 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2025-08-12 20:14:05 +02:00
2025-05-23 13:18:40 +02:00
2025-08-02 16:44:04 +02:00
2025-08-02 16:44:04 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2026-06-16 14:14:19 +02:00
2022-12-29 19:56:09 +01:00
S
Description
OpenWrt Network interface configuration daemon
1.6 MiB
Languages
C 96.3%
Shell 3.3%
CMake 0.4%