]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
slirp: Add explanation for hostfwd parsing failure
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 8 Sep 2017 15:53:59 +0000 (16:53 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 24 Sep 2017 18:04:09 +0000 (20:04 +0200)
commit0e7e4fb0a6b8f1043182dcccc91a7b984587d1ae
treea6c92897e4ad5b47bea0553200f993266b10019f
parent460b6c8e581aa06b86f59eebd9e52edfe7adf417
slirp: Add explanation for hostfwd parsing failure

e.g.
./x86_64-softmmu/qemu-system-x86_64 -nographic -netdev 'user,id=vnet,hostfwd=:555.0.0.0:0-:22'
qemu-system-x86_64: -netdev user,id=vnet,hostfwd=:555.0.0.0:0-:22: Invalid host forwarding rule ':555.0.0.0:0-:22' (Bad host address)

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
net/slirp.c