1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network
JINLIANG GU 89d982d723 netifd: dhcp: suppress udhcpc default vendor class if specified in sendopts
When DHCP Option 60 is specified via sendopts (hex, decimal, or named
formats), udhcpc sends its default "udhcp <version>" string alongside
the custom value, which causes authentication failures with some ISPs.

This fix detects Option 60 in sendopts and automatically passes -V ""
to udhcpc to suppress the default version string while allowing
multiple user-defined vendor classes.

Supported formats:
- Hexadecimal: 0x3c
- Decimal: 60
- Named: vendor

Fixes: #21242
Signed-off-by: JINLIANG GU <ihipop@gmail.com>
https://github.com/openwrt/openwrt/pull/21450
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2026-01-10 13:00:15 +01:00
..
config netifd: dhcp: suppress udhcpc default vendor class if specified in sendopts 2026-01-10 13:00:15 +01:00
ipv6 odhcp6c: update to Git HEAD (2025-12-29) 2025-12-30 09:42:50 +01:00
services unetmsg: remove redundant socket close 2026-01-05 12:43:40 +01:00
utils packages: ethtool: restore CONFLICTS 2026-01-04 18:40:52 +01:00