Actions
Bug #10965
closedrtsold not starting dhcp6c when managed bit is set
Start date:
10/07/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
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.
Actions