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
160 stars 96 forks source link

Support ra_lifetime=0 #134

Closed jplitza closed 5 years ago

jplitza commented 5 years ago

The value 0 has the special meaning of not being a default router. This is useful to only advertise prefixes or DNS settings without being a real router.

dedeckeh commented 5 years ago

@jplitza I like the idea however the patch is not signed off and should start with the prefix router: support ra_lifetime being 0 Please have a look at https://openwrt.org/submitting-patches#sign_your_work

jplitza commented 5 years ago

Fixed

dedeckeh commented 5 years ago

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

TCB13 commented 1 year ago

How likely is this fix to have something related to the issues here: https://github.com/openwrt/odhcpd/issues/133