]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
odhcp6c: update to Git HEAD (2026-01-25) 21705/head
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 25 Jan 2026 18:44:22 +0000 (19:44 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 26 Jan 2026 17:49:51 +0000 (18:49 +0100)
ee2949e3a70a dhcpv6: add config for strict RFC7550
abf6677391f0 dhcpv6: replace hash_ifname() with MD5 implementation

https://github.com/openwrt/odhcp6c/compare/8abb45065f5e...24485bb4b35a

Link: https://github.com/openwrt/openwrt/pull/21705
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.sh

index a35e72bd3cb8c965ab76f1e4523fe4bfdada8541..f0c1b3ea5a41a34efc42f727de0043c1fc8d5a10 100644 (file)
@@ -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:=8abb45065f5ef9d176efa6bd151a1209b05852c4
-PKG_MIRROR_HASH:=e7ce2b3025dfc005b9fb960f53c1848c1864e026e11e336f7b017d6eb9c68cef
+PKG_SOURCE_DATE:=2026-01-25
+PKG_SOURCE_VERSION:=24485bb4b35ab84c17c2e87bd561d026d4c15c00
+PKG_MIRROR_HASH:=2aa9f330c7b73cefe74d47446a7d9388e49f87eb8df63041c93c829491977572
 
 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
 PKG_LICENSE:=GPL-2.0
index d59e98899112106a30276c2d841f7e258ccb9b83..70d23dd936f55164256c84cdfcebf9f85edaad59 100755 (executable)
@@ -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
-