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

Also available in: Atom PDF