Project

General

Profile

Actions

Bug #9264

closed

Disabling "IPv6 over IPv4 Tunneling" breaks config

Added by Chris Collins about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
01/09/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4_1
Affected Architecture:
amd64

Description

Steps that may possibly reproduce.

1 - enable "IPv6 over IPv4 Tunneling" and set an ip address in the "ipv4 address of tunnel peer field"
2 - save and apply
3 - disable "IPv6 over IPv4 Tunneling" and empty the "ipv4 address of tunnel peer field"

This error pops up.

"Fatal error: Uncaught Error: Cannot unset string offsets in /usr/local/www/system_advanced_network.php:112 Stack trace: #0 {main} thrown in /usr/local/www/system_advanced_network.php on line 112 PHP ERROR: Type: 1, File: /usr/local/www/system_advanced_network.php, Line: 112, Message: Uncaught Error: Cannot unset string offsets in /usr/local/www/system_advanced_network.php:112 Stack trace: #0 {main} thrown"

If page is reloaded, the box is unticked, there seems to be a value of "1" left as the "ipv4 address of tunnel field" config.

The problem is even if its successfully disabled, now changing "any" setting on that networking page will throw up the php error, so unit is damaged.

I am reporting the bug, but also a request is if there is a way to now manually fix the config. So I am not resorting to setting up the unit from scratch to clear the error.

Actions

Also available in: Atom PDF