openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
162 stars 98 forks source link

dhcpv6: add setting to choose IA_NA, IA_PD or both #118

Closed mamidzic closed 5 years ago

mamidzic commented 5 years ago

This commit implements feature request #111 Adds the config options to set if DHCPv6 'stateful addresing' hands out IA_NA (Internet Address - Network Address), IA_PD (Internet Address - Prefix Delegation), both or none.

The config options are 'dhcpv6_pd' and 'dhcpv6_na' of type boolean.

The default setting for both options is 'true'.

Codes for NoAddrsAvail or NoPrefixAvail are returned if IA_NA or IA_PD are set not to be handed out.

Signed-off-by: Matija Amidzic matija.amidzic@sartura.hr

mamidzic commented 5 years ago

Hi, I've made the requested changes.

dedeckeh commented 5 years ago

Can you also update the README with the newly added uci parameters ?

mamidzic commented 5 years ago

I've updated the README file also.

mamidzic commented 5 years ago

The changes you requested are done.

dedeckeh commented 5 years ago

Patch pushed to master (https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=7abbed4fba6c9b75ec5331291eb7dc787f99a977); thx