diff --git a/src/opnsense/mvc/app/library/OPNsense/Routing/Gateways.php b/src/opnsense/mvc/app/library/OPNsense/Routing/Gateways.php index 7183ecaba..eb3fc288d 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Routing/Gateways.php +++ b/src/opnsense/mvc/app/library/OPNsense/Routing/Gateways.php @@ -245,7 +245,9 @@ class Gateways // gateway should only contain a valid address, make sure its empty unset($thisconf['gateway']); $this->cached_gateways[$gwkey] = $thisconf; - } elseif (empty($thisconf['dynamic'])) { + } elseif ($ipproto == 'inet6' + && in_array($ifcfg['ipaddrv6'], array('slaac', 'dhcp6', '6to4', '6rd'))) { + // Dynamic IPv6 interface, but no router solicit response received using rtsold. $gwkey = $this->newKey($thisconf['priority'], !empty($thisconf['defaultgw'])); // gateway should only contain a valid address, make sure its empty unset($thisconf['gateway']);