]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove bogus port handling code in virsh
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 12 Nov 2010 13:30:32 +0000 (13:30 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Nov 2010 15:00:35 +0000 (15:00 +0000)
commit4d0350fc38acc650595d8c1f53b80cfd44150172
tree82bdfaed3b839f0e02f0a92bb8e726987f2349f2
parent9a7caeffdf59d1bad61181e97e62d5f54a9e41a6
Remove bogus port handling code in virsh

The "find-storage-pool-sources-as" command takes two arguments,
a hostname and a port number. For some reason the code would
also then look for a port number appended to the hostname
string by searching for ':'. This totally breaks if the user
gives an IPv6 address, and is redundant, since you can already
provide a port as a separate argument

* tools/virsh.c: Remove bogus port number handling code
tools/virsh.c