diff options
| author | David Bauer | 2025-04-19 12:41:37 +0000 |
|---|---|---|
| committer | David Bauer | 2025-04-20 15:04:08 +0000 |
| commit | 387b49d89aa5c2c62c5437c51ee9ea4c58a13c8d (patch) | |
| tree | 74c479434696665ce466b85597f407ae56da6570 | |
| parent | 3307fe8ee4cf8ee52cefd03feb97f1d826253eeb (diff) | |
| download | openwrt-387b49d89aa5c2c62c5437c51ee9ea4c58a13c8d.tar.gz | |
netifd dhcp: send DHCP client ID by default
Some ISPs require the client ID to be set in the DHCP and DHCPv6
requests. OpenWrt sets the client id for IPv6 but not for IPv4 by
default.
Align this behavior between DHCPv4 and DHCPv6.
ISPs that require this measure are Deutsche Glasfaser as well as some
Entega connections.
Signed-off-by: David Bauer <mail@david-bauer.net>
| -rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 636b4654ff..0bef6a1abb 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -51,7 +51,7 @@ proto_dhcp_setup() { [ "$defaultreqopts" = 0 ] && defaultreqopts="-o" || defaultreqopts= [ "$broadcast" = 1 ] && broadcast="-B" || broadcast= [ "$norelease" = 1 ] && norelease="" || norelease="-R" - [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C" + [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" [ -n "$iface6rd" ] && proto_export "IFACE6RD=$iface6rd" [ "$iface6rd" != 0 -a -f /lib/netifd/proto/6rd.sh ] && append dhcpopts "-O 212" [ -n "$zone6rd" ] && proto_export "ZONE6RD=$zone6rd" |