Revision fc1f2003
Added by k-paulius over 10 years ago
etc/inc/interfaces.inc | ||
---|---|---|
4056 | 4056 |
$dhcp6cconf = @file_get_contents($wancfg['adv_dhcp6_config_file_override_path']); |
4057 | 4057 |
|
4058 | 4058 |
if ($dhcp6cconf === false) { |
4059 |
printf("Error: cannot open {$wancfg['adv_dhcp6_config_file_override_path']} in DHCP6_Config_File_Override() for reading.\n");
|
|
4059 |
log_error("Error: cannot open {$wancfg['adv_dhcp6_config_file_override_path']} in DHCP6_Config_File_Override() for reading.\n");
|
|
4060 | 4060 |
return ''; |
4061 | 4061 |
} else { |
4062 |
$dhcp6cconf = DHCP6_Config_File_Substitutions($wancfg, $wanif, $dhcp6cconf); |
|
4063 |
return $dhcp6cconf; |
|
4062 |
return DHCP6_Config_File_Substitutions($wancfg, $wanif, $dhcp6cconf);; |
|
4064 | 4063 |
} |
4065 | 4064 |
} |
4066 | 4065 |
|
Also available in: Unified diff
Log to syslog and get rid of useless variable.