mirror of
https://github.com/opnsense/core.git
synced 2026-10-12 02:20:36 +00:00
interafces: PPPoE supports all IPv6 types
Only IPv4 prohibits use of 'staticv4' and 'dhcp'. In theory even these could work but we don't want to push our luck.
This commit is contained in:
@@ -244,12 +244,7 @@ class NetworkInterface extends BaseModel
|
||||
$key . ".type4"
|
||||
));
|
||||
}
|
||||
if (!empty($if->pppType()) && !in_array($if->type6->getValue(), ['none', 'pppoev6'])) {
|
||||
$messages->appendMessage(new Message(
|
||||
sprintf(gettext('This device only supports "%s" as type'), 'pppoev6'),
|
||||
$key . ".type6"
|
||||
));
|
||||
} elseif (empty($if->pppType()) && in_array($if->type6->getValue(), ['pppoev6'])) {
|
||||
if (empty($if->pppType()) && in_array($if->type6->getValue(), ['pppoev6'])) {
|
||||
$messages->appendMessage(new Message(
|
||||
gettext('PPP types belong to their respective devices'),
|
||||
$key . ".type6"
|
||||
|
||||
Reference in New Issue
Block a user