diff --git a/src/www/system_advanced_network.php b/src/www/system_advanced_network.php
index fdcef8ced..44e075727 100644
--- a/src/www/system_advanced_network.php
+++ b/src/www/system_advanced_network.php
@@ -171,6 +171,7 @@ $duid = read_duid();
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig = [];
+ $pconfig['ipv6allow'] = isset($config['system']['ipv6allow']);
$pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']);
$pconfig['disablesegmentationoffloading'] = isset($config['system']['disablesegmentationoffloading']);
$pconfig['disablelargereceiveoffloading'] = isset($config['system']['disablelargereceiveoffloading']);
@@ -198,6 +199,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
unset($config['system']['sharednet']);
}
+ if (!empty($pconfig['ipv6allow'])) {
+ $config['system']['ipv6allow'] = true;
+ } elseif (isset($config['system']['ipv6allow'])) {
+ unset($config['system']['ipv6allow']);
+ }
+
if (!empty($pconfig['disablechecksumoffloading'])) {
$config['system']['disablechecksumoffloading'] = true;
} elseif (isset($config['system']['disablechecksumoffloading'])) {
@@ -248,6 +255,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
interface_dhcpv6_configure('duidonly', null); /* XXX refactor */
system_sysctl_configure();
interfaces_hardware();
+ /* XXX interfaces IPv6 mode is forced to disable maybe but we are not reconfiguring here */
+ filter_configure();
}
}
@@ -257,6 +266,12 @@ include("head.inc");
?>
+
+
@@ -285,7 +300,7 @@ include("head.inc");
=gettext("Hardware CRC"); ?> |
/>
- =gettext("Disable hardware checksum offload"); ?>
+ =gettext("Disable hardware checksum offload"); ?>
=gettext("Checking this option will disable hardware checksum offloading. Checksum offloading is broken in some hardware, particularly some Realtek cards. Rarely, drivers may have problems with checksum offloading and some specific NICs."); ?>
@@ -295,7 +310,7 @@ include("head.inc");
| =gettext("Hardware TSO"); ?> |
/>
- =gettext("Disable hardware TCP segmentation offload"); ?>
+ =gettext("Disable hardware TCP segmentation offload"); ?>
=gettext("Checking this option will disable hardware TCP segmentation offloading (TSO, TSO4, TSO6). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
@@ -305,7 +320,7 @@ include("head.inc");
| =gettext("Hardware LRO"); ?> |
/>
- =gettext("Disable hardware large receive offload"); ?>
+ =gettext("Disable hardware large receive offload"); ?>
=gettext("Checking this option will disable hardware large receive offloading (LRO). This offloading is broken in some hardware drivers, and may impact performance with some specific NICs."); ?>
@@ -333,13 +348,23 @@ include("head.inc");
|
| =gettext("ARP Handling"); ?> |
- />
- =gettext("Suppress ARP messages"); ?>
+ />
+ =gettext("Suppress ARP messages"); ?>
=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?>
|
+
+ | = gettext('Allow IPv6') ?> |
+
+ />
+ = gettext('Allow IPv6') ?>
+
+ = gettext('If unchecked, IPv6 interface configuration will be ignored and all forwarding traffic will be blocked. Use with care.') ?>
+
+ |
+