mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
interfaces: do not break line
This commit is contained in:
parent
95807fac47
commit
9efc0bf123
@ -3581,8 +3581,7 @@ function DHCP_Config_File_Substitutions($wancfg, $wanif, $dhclientconf)
|
||||
{
|
||||
|
||||
/* Apply Interface Substitutions */
|
||||
$dhclientconf = str_replace("{interface}", "{
|
||||
$wanif}", $dhclientconf);
|
||||
$dhclientconf = str_replace("{interface}", "{$wanif}", $dhclientconf);
|
||||
|
||||
/* Apply Hostname Substitutions */
|
||||
$dhclientconf = str_replace("{hostname}", $wancfg['dhcphostname'], $dhclientconf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user