Project

General

Profile

Actions

Bug #10965

closed

rtsold not starting dhcp6c when managed bit is set

Added by Michael Smith over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
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 #2

Updated by Renato Botelho over 3 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!

Actions #3

Updated by Anonymous over 3 years ago

  • Assignee changed from Renato Botelho to Michael Smith
Actions #4

Updated by Michael Smith over 3 years ago

Tested for several weeks and works as expected.

Actions #5

Updated by Renato Botelho over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF