diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-12-27 11:55:36 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-12-27 11:55:36 -0200 |
commit | 63fee5762d0ae0a1698713497c022dc06c0ab3c8 (patch) | |
tree | 76a0035eb05538d74f156570bbfd94aae6103a99 /etc | |
parent | ffe6f371fa4cdc457c2912c284e417ad86beb967 (diff) | |
download | pfsense-63fee5762d0ae0a1698713497c022dc06c0ab3c8.zip pfsense-63fee5762d0ae0a1698713497c022dc06c0ab3c8.tar.gz |
No reason to set the same value to ipprotocol
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index bc5709e..55a2027 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -395,7 +395,6 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive if (empty($gateway['gateway']) || $gateway['gateway'] == "dynamic" || $gateway['gateway'] == "dynamic6") { if ($gateway['ipprotocol'] == "inet") { /* we know which interfaces is dynamic, this should be made a function */ - $gateway['ipprotocol'] = "inet"; $gateway['gateway'] = get_interface_gateway($gateway['interface']); /* no IP address found, set to dynamic */ if (!is_ipaddrv4($gateway['gateway'])) @@ -406,7 +405,6 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive /* if the gateway is dynamic6 and we can find the IPv6, Great! */ 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']); /* no IPv6 address found, set to dynamic6 */ if (!is_ipaddrv6($gateway['gateway'])) |