summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5a091c6..b5c5fac 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -4056,11 +4056,10 @@ function DHCP6_Config_File_Override($wancfg, $wanif) {
$dhcp6cconf = @file_get_contents($wancfg['adv_dhcp6_config_file_override_path']);
if ($dhcp6cconf === false) {
- printf("Error: cannot open {$wancfg['adv_dhcp6_config_file_override_path']} in DHCP6_Config_File_Override() for reading.\n");
+ log_error("Error: cannot open {$wancfg['adv_dhcp6_config_file_override_path']} in DHCP6_Config_File_Override() for reading.\n");
return '';
} else {
- $dhcp6cconf = DHCP6_Config_File_Substitutions($wancfg, $wanif, $dhcp6cconf);
- return $dhcp6cconf;
+ return DHCP6_Config_File_Substitutions($wancfg, $wanif, $dhcp6cconf);;
}
}
OpenPOWER on IntegriCloud