diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-03-03 13:30:57 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-03-03 13:31:32 -0300 |
commit | 2ccaa575593b79d43680214cd57307b9c7f65936 (patch) | |
tree | f2ae2ab94b983682083fdb3681e74e5f5a8af1c9 /etc/inc/system.inc | |
parent | 246950c38fc3faaeb68c4740d0b7c761f2fc1f8d (diff) | |
download | pfsense-2ccaa575593b79d43680214cd57307b9c7f65936.zip pfsense-2ccaa575593b79d43680214cd57307b9c7f65936.tar.gz |
Remove broken 'dynamic6' gateway, we already have ipprotocol to tell us the IP version, leave it more simple using only 'dynamic'. It helps #3484
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 30c2a97..da6e25d 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -395,8 +395,8 @@ function system_routing_configure($interface = "") { @file_put_contents("{$g['tmp_path']}/{$defaultif}_defaultgw", $gateway['gateway']); } $foundgw = true; - } else if ($gateway['ipprotocol'] == "inet6" && (is_ipaddrv6($gateway['gateway']) || $gateway['gateway'] == "dynamic6")) { - if ($gateway['gateway'] == "dynamic6") + } else if ($gateway['ipprotocol'] == "inet6" && (is_ipaddrv6($gateway['gateway']) || $gateway['gateway'] == "dynamic")) { + if ($gateway['gateway'] == "dynamic") $gateway['gateway'] = get_interface_gateway_v6($gateway['interface']); $gatewayipv6 = $gateway['gateway']; $interfacegwv6 = $gateway['interface']; |