blocker bug in dnsmaq config

Signed-off-by: Abhinandan Prateek <aprat...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/79dc83d1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/79dc83d1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/79dc83d1

Branch: refs/heads/rbd-snap-clone
Commit: 79dc83d1ac055d62b70d172789a6883f29bab186
Parents: 730e657
Author: Bharat Kumar <bharat.ku...@citrix.com>
Authored: Tue May 21 17:02:19 2013 +0530
Committer: Abhinandan Prateek <aprat...@apache.org>
Committed: Tue May 21 17:49:05 2013 +0530

----------------------------------------------------------------------
 .../src/com/cloud/network/DnsMasqConfigurator.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/79dc83d1/core/src/com/cloud/network/DnsMasqConfigurator.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/network/DnsMasqConfigurator.java 
b/core/src/com/cloud/network/DnsMasqConfigurator.java
index bbf721d..ee8e5fc 100644
--- a/core/src/com/cloud/network/DnsMasqConfigurator.java
+++ b/core/src/com/cloud/network/DnsMasqConfigurator.java
@@ -110,7 +110,7 @@ import java.util.List;
              dnsServers = dnsServers+dnsMasqconfigcmd.getDns2()+",";
          }
          dnsServers = dnsServers +"*";
-         dnsServers = dnsServers.replace(";*", "");
+         dnsServers = dnsServers.replace(",*", "");
          dnsMasqconf.set(24,"dhcp-option=6,"+dnsServers);
          return dnsMasqconf.toArray( new  String[dnsMasqconf.size()]);
      }

Reply via email to