]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonMap: don't crash on dup IP in mon host
authorSage Weil <sage@inktank.com>
Sun, 10 Mar 2013 06:12:00 +0000 (22:12 -0800)
committerSage Weil <sage@inktank.com>
Sun, 10 Mar 2013 06:12:00 +0000 (22:12 -0800)
commit07820f032f53ca5dfb2dcb29f29a28ae2a24a499
treeee22e8ae68fba617a42926f5229a408168f8e43d
parentc7aa897ce012b24fe73e891a39901366cf2b58a1
mon/MonMap: don't crash on dup IP in mon host

If the mon_host line has an IP twice, we shouldn't crash.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/MonMap.cc