From 0d46f06b4b43369f63b026d7eba94a3f33aa7c44 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 14 Sep 2011 12:59:22 -0700 Subject: [PATCH] conf: allow ; as a list separator Signed-off-by: Sage Weil --- src/common/ceph_argparse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ceph_argparse.cc b/src/common/ceph_argparse.cc index 027479b316e6c..a96bb66894257 100644 --- a/src/common/ceph_argparse.cc +++ b/src/common/ceph_argparse.cc @@ -105,7 +105,7 @@ bool parse_ip_port_vec(const char *s, vector& vec) } //cout << " got " << a << ", rest is '" << p << "'" << std::endl; vec.push_back(a); - while (*p == ',' || *p == ' ') + while (*p == ',' || *p == ' ' || *p == ';') p++; } return true; -- 2.39.5