Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug which caused the some cache files not being created #1524

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed bug which caused the /var/db/wan_cacheip and /var/db/wan_cachei…
…pv6 files to not be generated.

According to: https://redmine.pfsense.org/issues/3669
  • Loading branch information
theq86 authored Apr 6, 2017
commit 5a55e77e5a96247df097ace925cfb1f74df9e5b9
2 changes: 1 addition & 1 deletion src/etc/rc.newwanipv6
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if (is_ipaddrv6($curwanipv6)) {

log_error("rc.newwanipv6: on (IP address: {$curwanipv6}) (interface: {$interface}) (real interface: {$interface_real}).");

$oldipv6 = "";
$oldipv6 = "::";
if (file_exists("/var/db/{$interface}_cacheipv6")) {
$oldipv6 = file_get_contents("/var/db/{$interface}_cacheipv6");
}
Expand Down