diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-03-04 17:01:52 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-03-04 17:01:52 +0100 |
commit | 17a5b09514ef2f9b56324c2ec42408506775d42c (patch) | |
tree | c1d3cf79c905b13c2b9808904303602942bb7a7d /etc/inc/system.inc | |
parent | 4f33246696457207f14e18dbfa4c543e9e71ace4 (diff) | |
download | pfsense-17a5b09514ef2f9b56324c2ec42408506775d42c.zip pfsense-17a5b09514ef2f9b56324c2ec42408506775d42c.tar.gz |
Correct one more variable in the process
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 4ed6813..535b4d8 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -355,7 +355,7 @@ function system_routing_configure($interface = "") { if (!empty($interfacegwv6)) { $defaultifv6 = get_real_interface($gateway['interface']); if ($defaultifv6) - @file_put_contents("{$g['tmp_path']}/{$defaultif}_defaultgwv6", $gatewayipv6); + @file_put_contents("{$g['tmp_path']}/{$defaultifv6}_defaultgwv6", $gatewayipv6); } $foundgwv6 = true; break; @@ -373,7 +373,7 @@ function system_routing_configure($interface = "") { $interfacegwv6 = "wan"; $gatewayipv6 = get_interface_gateway_v6("wan"); @touch("{$g['tmp_path']}/{$defaultif}_defaultgwv6"); - } + } $dont_add_route = false; /* if OLSRD is enabled, allow WAN to house DHCP. */ if($config['installedpackages']['olsrd']) { @@ -422,7 +422,7 @@ function system_routing_configure($interface = "") { } if ($dont_add_route == false ) { - if (!empty($interface) && $interface != $interfacegw) + if (!empty($interface) && $interface != $interfacegwv6) ; else if (($interfacegwv6 <> "bgpd") && (is_ipaddrv6($gatewayipv6))) { $action = "add"; |