summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-03 13:30:57 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-03 13:31:01 -0300
commitd07bc322c58f13d62bb6416b22e29983ef75b02f (patch)
treeef4dcb58a81c2c57367380f45ffc09288a8cba75 /etc/inc/system.inc
parentbf36dafa261e33b7c6ed0fb8eebc59ff6ad26dd9 (diff)
downloadpfsense-d07bc322c58f13d62bb6416b22e29983ef75b02f.zip
pfsense-d07bc322c58f13d62bb6416b22e29983ef75b02f.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.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 421abad..755eda6 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -400,8 +400,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'];
OpenPOWER on IntegriCloud