summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm0se <m0se@fluffypattern.ch>2014-04-12 10:56:30 +0200
committerErmal <eri@pfsense.org>2014-04-12 16:32:07 +0000
commit7fd38f44ba327ab1cd1cad3ac76ebb169ccb12e0 (patch)
tree389d4a108e9fa2a65ca96680be7bb49d11e2d125
parent5aba8d905ae1a0e2256a8468c25136a62aa69672 (diff)
downloadpfsense-7fd38f44ba327ab1cd1cad3ac76ebb169ccb12e0.zip
pfsense-7fd38f44ba327ab1cd1cad3ac76ebb169ccb12e0.tar.gz
fixing typo for GIF tunnels to work over IPv6
the call of get_interface_gatewayv6() in the creation of a GIF tunnel over IPv6 leads to a "Fatal error: Call to undefined function get_interface_gatewayv6() in /etc/inc/interfaces.inc on line 934". changeing the function call to get_interface_gateway_v6() fixed it for me on my local system.
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 852509f..c152e55 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -935,7 +935,7 @@ function interface_gif_configure(&$gif, $gifkey = "") {
$realifip = $ipaddr;
else
$realifip = get_interface_ipv6($gif['if']);
- $realifgw = get_interface_gatewayv6($gif['if']);
+ $realifgw = get_interface_gateway_v6($gif['if']);
}
/* make sure the parent interface is up */
if($realif)
OpenPOWER on IntegriCloud