Bug #14708
openUncaught TypeError: pfSense_interface_rename() when enabling a second interface with 6to4 or 6rd after first configuriung an interface to use 6to4 or 6rd
0%
Description
When enabling 6rd while 6to4 is enabled on another interface the web ui will throw an error of Uncaught TypeError: pfSense_interface_rename()
.
This can also occur when enabling 6to4 with 6rd already enabled.
UI error shows the following when trying to enable 6to4 on wan with 6rd enabled on opt1 (Full trace attached to bug report):
Fatal error: Uncaught TypeError: pfSense_interface_rename(): Argument #1 ($ifname) must be of type string, array given in /etc/inc/interfaces.inc:4745 Stack trace: #0 /etc/inc/interfaces.inc(4745): pfSense_interface_rename(Array, 'wan_stf') #1 /etc/inc/interfaces.inc(4289): interface_6to4_configure('wan', Array) #2 /usr/local/www/interfaces.php(476): interface_configure('wan', true) #3 {main} thrown in /etc/inc/interfaces.inc on line 4745 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 4745, Message: Uncaught TypeError: pfSense_interface_rename(): Argument #1 ($ifname) must be of type string, array given in /etc/inc/interfaces.inc:4745 Stack trace: #0 /etc/inc/interfaces.inc(4745): pfSense_interface_rename(Array, 'wan_stf') #1 /etc/inc/interfaces.inc(4289): interface_6to4_configure('wan', Array) #2 /usr/local/www/interfaces.php(476): interface_configure('wan', true) #3 {main} thrown
Static IPv6, SLAAC, and DHCPv6 are unaffected.
Interfaces involved:- wan - igb0 - Requires 6to4 for IPv6
- opt1 - VLAN 201 on igb1 - Requires 6rd for IPv6
System is a Super Micro a1sri-2758f
Files
Updated by Christopher Cope 8 months ago
I am unable to reproduce this on 23.05.1. I created an interface using 6to4 and then another using 6rd without error.
If you are able to reliably reproduce this, please provide a step-by-step process that triggers the error.
Updated by Diana Moore 8 months ago
I tried to reproduce it on a seperate interface, but did not encounter the same error.
So it must be related to my overall configuration of the system.
I'll try to do some more testing, and see if I can reproduce the steps to get this error on a test system.