]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
conf: allow ; as a list separator
authorSage Weil <sage@newdream.net>
Wed, 14 Sep 2011 19:59:22 +0000 (12:59 -0700)
committerSage Weil <sage@newdream.net>
Thu, 15 Sep 2011 20:36:01 +0000 (13:36 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/common/ceph_argparse.cc

index 027479b316e6c6efaf335a45565fc6d6e721a929..a96bb6689425743a6065a969d0ca105324bf3859 100644 (file)
@@ -105,7 +105,7 @@ bool parse_ip_port_vec(const char *s, vector<entity_addr_t>& vec)
     }
     //cout << " got " << a << ", rest is '" << p << "'" << std::endl;
     vec.push_back(a);
-    while (*p == ',' || *p == ' ')
+    while (*p == ',' || *p == ' ' || *p == ';')
       p++;
   }
   return true;