Project

General

Profile

Bug #10965

rtsold not starting dhcp6c when managed bit is set

Added by Michael Smith about 2 months ago. Updated 30 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
10/07/2020
Due date:
% Done:

100%

Estimated time:
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.

History

#2 Updated by Renato Botelho about 2 months 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!

#3 Updated by Steve Beaver about 2 months ago

  • Assignee changed from Renato Botelho to Michael Smith

#4 Updated by Michael Smith about 1 month ago

Tested for several weeks and works as expected.

#5 Updated by Renato Botelho 30 days ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF