mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
ipprotocol is inet or inet6
This commit is contained in:
parent
26190b11f3
commit
8e78c82ce5
@ -380,7 +380,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
|
||||
}
|
||||
|
||||
/* if the gateway is dynamic6 and we can find the IPv6, Great! */
|
||||
if ($gateway['ipprotocol'] == "inet6") {
|
||||
else if ($gateway['ipprotocol'] == "inet6") {
|
||||
/* we know which interfaces is dynamic, this should be made a function, and for v6 too */
|
||||
$gateway['ipprotocol'] = "inet6";
|
||||
$gateway['gateway'] = get_interface_gateway_v6($gateway['interface']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user