summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2026-01-26 17:54:14 +0000
committerÁlvaro Fernández Rojas2026-01-27 07:14:41 +0000
commit5c72cd46dbf767d399e8fed0464304c36482012f (patch)
treee2ce984ae961f0499271c55f2511e1fcf01e3e2a
parent692150ee1f525d50d1d27a4d4c1983c2bd18d07a (diff)
downloadopenwrt-5c72cd46dbf767d399e8fed0464304c36482012f.tar.gz
odhcp6c: update to 25.12 Git HEAD (2026-01-25)
ee2949e3a70a dhcpv6: add config for strict RFC7550 abf6677391f0 dhcpv6: replace hash_ifname() with MD5 implementation https://github.com/openwrt/odhcp6c/compare/699cc61568b6...ee2949e3a70a Link: https://github.com/openwrt/openwrt/pull/21719 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--package/network/ipv6/odhcp6c/Makefile6
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.sh8
2 files changed, 8 insertions, 6 deletions
diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile
index 9741046cfe..83d5d46b47 100644
--- a/package/network/ipv6/odhcp6c/Makefile
+++ b/package/network/ipv6/odhcp6c/Makefile
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcp6c.git
-PKG_SOURCE_DATE:=2025-12-29
-PKG_SOURCE_VERSION:=699cc61568b6816783d17d57dda4ef7851198528
-PKG_MIRROR_HASH:=e8a42c429ed83660ccc04d69e3bcbf0056d8e96e08caff0f14518150b89ec352
+PKG_SOURCE_DATE:=2026-01-25
+PKG_SOURCE_VERSION:=ee2949e3a70a1dd4905d83abf8fb8135b420ca17
+PKG_MIRROR_HASH:=e65bba4810820957b2149e5208d531cadc04b2747dc7a61be2d6ae472f054e70
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE:=GPL-2.0
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
index d59e988991..70d23dd936 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.sh
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.sh
@@ -17,6 +17,7 @@ proto_dhcpv6_init_config() {
proto_config_add_string 'forceprefix:bool'
proto_config_add_string 'extendprefix:bool'
proto_config_add_string 'norelease:bool'
+ proto_config_add_boolean strict_rfc7550
proto_config_add_string 'noserverunicast:bool'
proto_config_add_string 'noclientfqdn:bool'
proto_config_add_string 'noacceptreconfig:bool'
@@ -59,7 +60,7 @@ proto_dhcpv6_setup() {
local iface="$2"
local reqaddress reqprefix clientid reqopts defaultreqopts
- local noslaaconly forceprefix extendprefix norelease
+ local noslaaconly forceprefix extendprefix norelease strict_rfc7550
local noserverunicast noclientfqdn noacceptreconfig iface_dslite
local iface_map iface_464xlat ip6ifaceid userclass vendorclass
local delegate zone_dslite zone_map zone_464xlat zone encaplimit_dslite
@@ -69,7 +70,7 @@ proto_dhcpv6_setup() {
local ip6prefix ip6prefixes
json_get_vars reqaddress reqprefix clientid reqopts defaultreqopts
- json_get_vars noslaaconly forceprefix extendprefix norelease
+ json_get_vars noslaaconly forceprefix extendprefix norelease strict_rfc7550
json_get_vars noserverunicast noclientfqdn noacceptreconfig iface_dslite
json_get_vars iface_map iface_464xlat ip6ifaceid userclass vendorclass
json_get_vars delegate zone_dslite zone_map zone_464xlat zone encaplimit_dslite
@@ -97,6 +98,8 @@ proto_dhcpv6_setup() {
[ "$norelease" = "1" ] && append opts "-k"
+ [ "$strict_rfc7550" = "1" ] && append opts "--strict-rfc7550"
+
[ "$noserverunicast" = "1" ] && append opts "-U"
[ "$noclientfqdn" = "1" ] && append opts "-f"
@@ -180,4 +183,3 @@ proto_dhcpv6_teardown() {
}
add_protocol dhcpv6
-