]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
conf: Adjust duplicate source host port check
authorJohn Ferlan <jferlan@redhat.com>
Mon, 11 May 2015 14:19:39 +0000 (10:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 May 2015 20:16:48 +0000 (16:16 -0400)
commit6dd9297c88c8898a2505bc3bb95fb62d577e7c25
tree6327658a85c62231664e7612a17211e27dda1422
parent5f6fe84d5731a45fa3fe08701f0d553818dd3e12
conf: Adjust duplicate source host port check

Only perform the port number check if the incoming definition actually
provides it. Since the port number is optional we could erroneously pass
a duplicate source host check since some storage pool backends which fill
in the default port number (e.g., iSCSI and sheepdog) for the started pool.
src/conf/storage_conf.c