openwrt / odhcp6c

This repository is a mirror of https://git.openwrt.org/?p=project/odhcp6c.git. It is for reference only and is not active for checks-ins or reporting issues; issues should be reported at: https://bugs.openwrt.org. Pull requests will be accepted which will be merged in odhcp6c.git
GNU General Public License v2.0
77 stars 81 forks source link

odhcp6c: add option to ignore Server Unicast option #57

Closed koalatux closed 6 years ago

koalatux commented 6 years ago

Hi

My ISP has a problem and odhcp6c never gets a reply to renew messages, if sent to the server's unicast address, so I added this option as a workaround to ignore the Unicast Server Option. With that all renew messages are sent to the multicast address.

The problem is further discussed here: https://forum.turris.cz/t/turris-os-3-10-dhcpv6-loses-address-after-1-hour/7391

I can send you pcap files if you want.

Cheers, Adi

dedeckeh commented 6 years ago

Patch pushed to master with some tweaks (https://git.openwrt.org/?p=project/odhcp6c.git;a=commit;h=67ae6a71b5762292e114b281d0e329cc24209ae6); thx