odhcp6c: drop script_sync_delay override
authorÁlvaro Fernández Rojas <[email protected]>
Sat, 6 Dec 2025 12:43:26 +0000 (13:43 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Sat, 6 Dec 2025 12:50:47 +0000 (13:50 +0100)
allow_slaac_only is declared as a boolean in the OpenWrt wiki and the
script doesn't pass any value at all:
https://github.com/openwrt/openwrt/blob/00c8b5c612d07e36ede1e9ebe2b44ba88fa90000/package/network/ipv6/odhcp6c/files/dhcpv6.sh#L94

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/odhcp6c.c

index 16fd6d44a9a18363e9ae3da3ed5af4187c184a35..349f4ee83d2c79fa7a9e44030b7d66fec6495fb6 100644 (file)
@@ -431,9 +431,6 @@ int main(_o_unused int argc, char* const argv[])
                }
        }
 
-       if (config_dhcp->allow_slaac_only > 0)
-               script_sync_delay = config_dhcp->allow_slaac_only;
-
        openlog("odhcp6c", logopt, LOG_DAEMON);
        if (!verbosity)
                setlogmask(LOG_UPTO(LOG_WARNING));