mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
blocker bug in dnsmaq config
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
parent
730e6571f6
commit
79dc83d1ac
@ -110,7 +110,7 @@ import java.util.List;
|
|||||||
dnsServers = dnsServers+dnsMasqconfigcmd.getDns2()+",";
|
dnsServers = dnsServers+dnsMasqconfigcmd.getDns2()+",";
|
||||||
}
|
}
|
||||||
dnsServers = dnsServers +"*";
|
dnsServers = dnsServers +"*";
|
||||||
dnsServers = dnsServers.replace(";*", "");
|
dnsServers = dnsServers.replace(",*", "");
|
||||||
dnsMasqconf.set(24,"dhcp-option=6,"+dnsServers);
|
dnsMasqconf.set(24,"dhcp-option=6,"+dnsServers);
|
||||||
return dnsMasqconf.toArray( new String[dnsMasqconf.size()]);
|
return dnsMasqconf.toArray( new String[dnsMasqconf.size()]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user