Skip to content

Commit

Permalink
Fix file name in DnsMasqConfigCommand
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
  • Loading branch information
Harikrishna Patnala authored and Abhinandan Prateek committed Jul 3, 2013
1 parent 9ba36fd commit d2739cd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2118,7 +2118,7 @@ protected Answer execute(final DnsMasqConfigCommand cmd) {

DnsMasqConfigurator configurator = new DnsMasqConfigurator();
String [] config = configurator.generateConfiguration(cmd);
String tmpConfigFilePath = "/tmp/"+ routerIp.replace(".","-")+".cfg";
String tmpConfigFilePath = "/tmp/"+ routerIp.replace(".","_")+".cfg";
String tmpConfigFileContents = "";
for (int i = 0; i < config.length; i++) {
tmpConfigFileContents += config[i];
Expand Down

0 comments on commit d2739cd

Please sign in to comment.