Bug #10965
closedrtsold not starting dhcp6c when managed bit is set
100%
Description
rtsold was recently changed to allow for a script to run when the router advertisement has the MANAGED flag set.
unfortunately this cases the script specified with the -O option to not run.
appears that this was pulled in with FreeBSD 12.2-STABLE
see https://github.com/freebsd/freebsd/commit/8ffcd478e5d5d60654e92ee952d7f50192577917
Seems as if just changing -O command line option to -M would do it, but I am not certain that the managed flag is always present with a dhcpv6 router in all implementations, so probably safer to do both as only one will run.
I also noticed that the {$g['varetc_path']}/rtsold_{$wanif}_script.sh is using $2 when the input to the script is only the name of the interface.
Updated by Michael Smith about 4 years ago
Updated by Renato Botelho about 4 years ago
- Status changed from New to Feedback
- Assignee set to Renato Botelho
- Target version set to 2.5.0
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Anonymous about 4 years ago
- Assignee changed from Renato Botelho to Michael Smith
Updated by Michael Smith about 4 years ago
Tested for several weeks and works as expected.
Updated by Renato Botelho about 4 years ago
- Status changed from Feedback to Resolved