openvpn: handle netifd setup in hotplug script
authorChen Minqiang <redacted>
Tue, 17 Mar 2026 11:19:30 +0000 (19:19 +0800)
committerHannu Nyman <redacted>
Sat, 21 Mar 2026 13:47:47 +0000 (15:47 +0200)
commit29e74f34d3bd1a62ca3093ebd77093b10082f183
tree6e37fb160983a0ba70df03b5ae0ebc05f183bce8
parentbda60d1fc5a178031d52f09136c100b312388e5d
openvpn: handle netifd setup in hotplug script

- Process 'up'/'down' events to manage interface status.
- Add IPv4/IPv6 addresses and routes via netifd-proto.
- Parse DNS/search domains from foreign options.
- Convert netmasks and CIDR strings with new helpers.
- Apply MTU settings from OpenVPN environment.

Signed-off-by: Chen Minqiang <redacted>
net/openvpn/files/usr/libexec/openvpn-hotplug
git clone https://git.99rst.org/PROJECT