migration: Fix seg with missing port
commit9308ae54858a86f2955e0b45f74d6e1f9c38820b
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 13 Sep 2016 09:08:41 +0000 (13 10:08 +0100)
committerJuan Quintela <quintela@trasno.org>
Thu, 13 Oct 2016 15:23:53 +0000 (13 17:23 +0200)
tree9234a178d6c5b6aa1d32af4210574b5ae841596c
parent5cf0f48d2aa860877c992030854540ba82dfe8fa
migration: Fix seg with missing port

The command :
   migrate tcp:localhost:

   currently segs; fix it so it now says:

   error parsing address 'localhost:'

and the same for -incoming.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/socket.c