luci icon indicating copy to clipboard operation
luci copied to clipboard

luci-mod-network: update dhcpv6_pd_min_len values

Open Alphix opened this issue 2 months ago • 5 comments

odhcpd will allow a greater range of PD prefix lengths, so update the UI to reflect this.

https://github.com/openwrt/odhcpd/pull/359

Alphix avatar Dec 14 '25 18:12 Alphix

The question is if we should go for:

so.placeholder='62';

or:

so.default='62';
so.optional=true;

The disadvantage of the latter is that it'll remove the option if the user sets "62" (and then it'll change if we change the default in odhcpd)....

Alphix avatar Dec 14 '25 18:12 Alphix

the latter with placeholder. we try and synch changes anyway.

systemcrash avatar Dec 14 '25 18:12 systemcrash

the latter with placeholder. we try and synch changes anyway.

Instructions unclear. Segfault. Should I go for default, optional and placeholder or...what?

Alphix avatar Dec 14 '25 19:12 Alphix

as it is now :)

systemcrash avatar Dec 14 '25 19:12 systemcrash

@systemcrash ok, and the PD change is in odhcpd master and 25.12 now, so should be ok to go in?

Alphix avatar Dec 18 '25 17:12 Alphix

Is that commit in openwrt/openwrt yet?

systemcrash avatar Dec 18 '25 22:12 systemcrash

Yes https://github.com/openwrt/openwrt/commit/3b58539817a99dc940cd2bb337ad61896a291aa9

GoetzGoerisch avatar Dec 19 '25 05:12 GoetzGoerisch

This needs to be backported to 25.12 if I'm not mistaken?

GoetzGoerisch avatar Dec 23 '25 10:12 GoetzGoerisch

picked. Thanks :)

systemcrash avatar Dec 23 '25 12:12 systemcrash