Project

General

Profile

Actions

Bug #13462

closed

Advanced DHCP6 client settings only work for a single interface

Added by Tim Dunn over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv6)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

In /etc/inc/interfaces.inc function interface_dhcpv6_configure

  4946                  if ($wancfg['adv_dhcp6_config_file_override']) {
  4947                          // DHCP6 Config File Override
  4948                          $dhcp6cconf = DHCP6_Config_File_Override($wancfg, $wanif);
  4949                  } elseif ($wancfg['adv_dhcp6_config_advanced']) {
  4950                          // DHCP6 Config File Advanced
  4951                          $dhcp6cconf = DHCP6_Config_File_Advanced($interface, $wancfg, $wanif);

As function loops over interfaces, if one interface has either override set then the entire file will be overwritten.
I suspect "=" should be ".="

This is in pfsense+ 22.05


Related issues

Related to Bug #13353: DHCPv6 (still) doesn't work properly with multiple interfacesDuplicate

Actions
Actions #1

Updated by Flole Systems over 1 year ago

This is basically the same as #13353, however you provided the solution aswell which I didn't want to.

Those changes will produce the checksums I posted in the other bug report.

Actions #2

Updated by Jim Pingle over 1 year ago

  • Subject changed from setting adv_dhcp6_config_advanced on one interface overwrites others to Setting adv_dhcp6_config_advanced on one interface overwrites others
  • Target version set to 2.7.0
  • Plus Target Version set to 22.11
Actions #3

Updated by Jim Pingle over 1 year ago

  • Plus Target Version changed from 22.11 to 23.01
Actions #4

Updated by Jim Pingle over 1 year ago

  • Assignee set to Jim Pingle
Actions #5

Updated by Jim Pingle over 1 year ago

  • Related to Bug #13353: DHCPv6 (still) doesn't work properly with multiple interfaces added
Actions #6

Updated by Jim Pingle over 1 year ago

  • Subject changed from Setting adv_dhcp6_config_advanced on one interface overwrites others to Advanced DHCP6 client settings only work for a single interface
Actions #7

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #8

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

This change had already been validated by multiple other people. Safe to close.

Actions

Also available in: Atom PDF